Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5649/0.5649, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 216.7 MB, free: 8.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.456e-05, allocations: 3.844 kB / 216.7 MB, free: 8.625 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 0.9336/0.9336, allocations: 255.6 MB / 472.3 MB, free: 7.527 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.9511, allocations: 20.65 MB / 493 MB, free: 2.797 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.9513, allocations: 8 kB / 493 MB, free: 2.789 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:84:3-86:38:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:87:3-89:37:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:90:3-92:37:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.9516, allocations: 178.7 kB / 493.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.952, allocations: 329.7 kB / 493.5 MB, free: 2.289 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.191/1.143, allocations: 7.272 MB / 0.489 GB, free: 1.969 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008385/1.144, allocations: 1.022 MB / 0.49 GB, free: 1.691 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/1.144, allocations: 239.6 kB / 0.4903 GB, free: 1.676 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/1.145, allocations: 0.5629 MB / 0.4908 GB, free: 1.629 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/1.145, allocations: 241.7 kB / 0.491 GB, free: 1.602 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.184e-05/1.145, allocations: 50.69 kB / 0.4911 GB, free: 1.602 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01581/1.161, allocations: 14.47 MB / 0.5052 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/1.161, allocations: 133.4 kB / 0.5054 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/1.161, allocations: 238.3 kB / 0.5056 GB, free: 11.85 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007945/1.169, allocations: 9.014 MB / 0.5144 GB, free: 3.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.169, allocations: 1.75 kB / 0.5144 GB, free: 3.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/1.169, allocations: 0.7812 kB / 0.5144 GB, free: 3.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/1.169, allocations: 0 / 0.5144 GB, free: 3.93 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002941/1.172, allocations: 1.501 MB / 0.5158 GB, free: 2.402 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.172, allocations: 8.031 kB / 0.5159 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.461e-05/1.172, allocations: 120.3 kB / 0.516 GB, free: 2.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/1.172, allocations: 81.02 kB / 0.516 GB, free: 2.191 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/1.173, allocations: 277.2 kB / 0.5163 GB, free: 1.922 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/1.173, allocations: 212.1 kB / 0.5165 GB, free: 1.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/1.173, allocations: 40 kB / 0.5166 GB, free: 1.641 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000775/1.174, allocations: 0.7991 MB / 0.5173 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.174, allocations: 4.969 kB / 0.5173 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/1.174, allocations: 21.25 kB / 0.5174 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/1.174, allocations: 35.97 kB / 0.5174 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/1.174, allocations: 0.5871 MB / 0.518 GB, free: 176 kB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03432/1.209, allocations: 21.91 MB / 0.5394 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/1.209, allocations: 472.1 kB / 0.5398 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/1.21, allocations: 279.9 kB / 0.5401 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03477/1.244, allocations: 21.17 MB / 0.5608 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/1.244, allocations: 41.89 kB / 0.5608 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 2.434e-06/1.244, allocations: 0.75 kB / 0.5608 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.00864/1.253, allocations: 3.179 MB / 0.5639 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/1.253, allocations: 55.41 kB / 0.564 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/1.253, allocations: 340.4 kB / 0.5643 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/1.253, allocations: 29.7 kB / 0.5643 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.254, allocations: 232.4 kB / 0.5645 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/1.254, allocations: 428.9 kB / 0.5649 GB, free: 224 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/1.254, allocations: 130.1 kB / 0.5651 GB, free: 88 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.254, allocations: 371.3 kB / 0.5654 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/1.254, allocations: 281.7 kB / 0.5657 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/1.255, allocations: 393.4 kB / 0.5661 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/1.256, allocations: 0.7343 MB / 0.5668 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.256, allocations: 0 / 0.5668 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002181/1.258, allocations: 1.234 MB / 0.568 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.258, allocations: 8 kB / 0.568 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.258, allocations: 0.5625 kB / 0.568 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/1.26, allocations: 1.375 MB / 0.5693 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/1.26, allocations: 27.27 kB / 0.5694 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/1.261, allocations: 1.381 MB / 0.5707 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/1.262, allocations: 108.9 kB / 0.5708 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/1.262, allocations: 20 kB / 0.5708 GB, free: 10.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001613/1.262, allocations: 184.3 kB / 0.571 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/1.262, allocations: 63.52 kB / 0.5711 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/1.265, allocations: 3.874 MB / 0.5748 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001546/1.266, allocations: 1.266 MB / 0.5761 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.266, allocations: 0.7031 kB / 0.5761 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/1.266, allocations: 3.984 kB / 0.5761 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/1.27, allocations: 2.697 MB / 0.5787 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.27, allocations: 4.625 kB / 0.5787 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/1.27, allocations: 91.09 kB / 0.5788 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/1.271, allocations: 0.8591 MB / 0.5797 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/1.271, allocations: 17.5 kB / 0.5797 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.272, allocations: 1.506 MB / 0.5811 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.272, allocations: 2.344 kB / 0.5811 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/1.275, allocations: 1.469 MB / 0.5826 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/1.275, allocations: 99.2 kB / 0.5827 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/1.275, allocations: 36.91 kB / 0.5827 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/1.275, allocations: 23.98 kB / 0.5827 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/1.275, allocations: 64.81 kB / 0.5828 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/1.275, allocations: 21.94 kB / 0.5828 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002821/1.276, allocations: 394 kB / 0.5832 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.1e-08/1.276, allocations: 4 kB / 0.5832 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001865/1.277, allocations: 1.057 MB / 0.5842 GB, free: 12.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005096/1.283, allocations: 3.272 MB / 0.5874 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001219/1.284, allocations: 1.072 MB / 0.5885 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.284, allocations: 0 / 0.5885 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005801/1.284, allocations: 481.2 kB / 0.5889 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/1.285, allocations: 434.1 kB / 0.5893 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007001/1.292, allocations: 6.581 MB / 0.5958 GB, free: 428 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/1.293, allocations: 405 kB / 0.5962 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001912/1.293, allocations: 63.88 kB / 0.5962 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/1.293, allocations: 308.4 kB / 0.5965 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/1.293, allocations: 0 / 0.5965 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06194/1.355, allocations: 58.95 MB / 0.6541 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.945/11.3, allocations: 7.984 kB / 0.6541 GB, free: 5.355 MB / 0.5886 GB " [Timeout remaining time 648] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.91117113083601] Failed to read output from testmodel.py, exit status != 0: 11.625719085335732 11.740250449 10.569519719 Calling exit ...