Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.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.5658/0.5658, allocations: 120.4 MB / 139.5 MB, free: 12.98 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.TestStaticCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 216.7 MB, free: 8.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.958e-05, allocations: 8.25 kB / 216.7 MB, free: 8.621 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.TestStaticCentrifugalPumpWaterSolution): time 0.9843/0.9843, allocations: 254 MB / 470.7 MB, free: 9.184 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.9949, allocations: 11.02 MB / 481.7 MB, free: 14.12 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.9951, allocations: 3.938 kB / 481.7 MB, free: 14.12 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSolution/PressureLosses/SingularPressureLoss.mo:15:3-17:16:writable] Warning: Connector C1 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/WaterSolution/PressureLosses/SingularPressureLoss.mo:18:3-19:83:writable] Warning: Connector C2 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/WaterSolution/Machines/StaticCentrifugalPump.mo:46:3-48:16:writable] Warning: Connector C1 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/WaterSolution/Machines/StaticCentrifugalPump.mo:49:3-50:83:writable] Warning: Connector C2 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/WaterSolution/BoundaryConditions/SourcePQ.mo:9:3-10:83:writable] Warning: Connector Cs 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/WaterSolution/BoundaryConditions/Sink.mo:10:3-12:16:writable] Warning: Connector Ce 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 9.925e-05/0.9952, allocations: 31.67 kB / 481.8 MB, free: 14.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.9953, allocations: 63.36 kB / 481.8 MB, free: 14.03 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00704/1.002, allocations: 3.458 MB / 485.3 MB, free: 10.55 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/1.003, allocations: 271.2 kB / 485.6 MB, free: 10.29 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/1.003, allocations: 128 kB / 485.7 MB, free: 10.16 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/1.003, allocations: 151.7 kB / 485.8 MB, free: 10.01 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/1.003, allocations: 91.69 kB / 485.9 MB, free: 9.922 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/1.003, allocations: 24 kB / 486 MB, free: 9.898 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008984/1.012, allocations: 7.295 MB / 493.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/1.012, allocations: 59.75 kB / 493.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/1.012, allocations: 83.77 kB / 493.4 MB, free: 2.453 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2036/1.216, allocations: 4.481 MB / 497.9 MB, free: 9.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/1.216, allocations: 0 / 497.9 MB, free: 9.828 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.216, allocations: 0 / 497.9 MB, free: 9.828 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/1.216, allocations: 0 / 497.9 MB, free: 9.828 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.003211/1.219, allocations: 0.7509 MB / 498.6 MB, free: 9.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.219, allocations: 10.36 kB / 498.6 MB, free: 9.363 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/1.219, allocations: 61.86 kB / 498.7 MB, free: 9.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/1.219, allocations: 30.59 kB / 498.7 MB, free: 9.309 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/1.22, allocations: 171.8 kB / 498.9 MB, free: 9.164 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/1.22, allocations: 19.34 kB / 498.9 MB, free: 9.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/1.22, allocations: 24 kB / 498.9 MB, free: 9.164 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/1.22, allocations: 319.2 kB / 499.2 MB, free: 9.043 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.22, allocations: 0.75 kB / 499.2 MB, free: 9.043 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/1.22, allocations: 11.12 kB / 499.3 MB, free: 9.043 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/1.22, allocations: 9.5 kB / 499.3 MB, free: 9.039 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/1.22, allocations: 215.5 kB / 499.5 MB, free: 9.004 MB / 442.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.00394/1.224, allocations: 2.358 MB / 0.4901 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/1.225, allocations: 206 kB / 0.4903 GB, free: 8.168 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/1.225, allocations: 90.25 kB / 0.4904 GB, free: 8.129 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00259/1.227, allocations: 1.289 MB / 0.4916 GB, free: 8.121 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000274/1.228, allocations: 177.3 kB / 0.4918 GB, free: 8.012 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.815e-06/1.228, allocations: 0 / 0.4918 GB, free: 8.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005216/1.228, allocations: 327.5 kB / 0.4921 GB, free: 7.871 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/1.228, allocations: 111.2 kB / 0.4922 GB, free: 7.746 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/1.228, allocations: 268.1 kB / 0.4925 GB, free: 7.633 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/1.228, allocations: 33.86 kB / 0.4925 GB, free: 7.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/1.229, allocations: 155.8 kB / 0.4926 GB, free: 7.496 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/1.229, allocations: 56.34 kB / 0.4927 GB, free: 7.461 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/1.229, allocations: 55.28 kB / 0.4927 GB, free: 7.441 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.635e-05/1.229, allocations: 335 kB / 0.4931 GB, free: 7.129 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/1.229, allocations: 89.52 kB / 0.4931 GB, free: 7.094 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/1.229, allocations: 155.8 kB / 0.4933 GB, free: 6.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/1.23, allocations: 0.6292 MB / 0.4939 GB, free: 6.805 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.23, allocations: 0.5625 kB / 0.4939 GB, free: 6.805 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003859/1.231, allocations: 315.4 kB / 0.4942 GB, free: 6.691 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/1.231, allocations: 35.11 kB / 0.4942 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.231, allocations: 2.688 kB / 0.4942 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.231, allocations: 3.781 kB / 0.4942 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/1.232, allocations: 213.9 kB / 0.4945 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002002/1.232, allocations: 0.5866 MB / 0.495 GB, free: 6.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/1.232, allocations: 40.36 kB / 0.4951 GB, free: 6.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/1.232, allocations: 15.91 kB / 0.4951 GB, free: 6.059 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.yL.signal,Pulse1.T0,$whenCondition2,sinkSolution.Ce.a,sourceSolution.Cs.b,staticCentrifugalPumpWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,singularPressureLossWaterLiBr.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001802/1.232, allocations: 173.8 kB / 0.4952 GB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/1.232, allocations: 28.95 kB / 0.4953 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/1.233, allocations: 265.3 kB / 0.4955 GB, free: 5.797 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.233, allocations: 4.531 kB / 0.4955 GB, free: 5.797 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.233, allocations: 0 / 0.4955 GB, free: 5.797 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.233, allocations: 1.547 kB / 0.4955 GB, free: 5.797 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/1.233, allocations: 241.5 kB / 0.4958 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/1.233, allocations: 0 / 0.4958 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/1.233, allocations: 204 kB / 0.496 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/1.233, allocations: 0.75 kB / 0.496 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/1.233, allocations: 2.562 kB / 0.496 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000124/1.234, allocations: 0.5935 MB / 0.4965 GB, free: 5.047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.234, allocations: 0 / 0.4965 GB, free: 5.047 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/1.234, allocations: 287.8 kB / 0.4968 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/1.234, allocations: 40.89 kB / 0.4969 GB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/1.234, allocations: 5.312 kB / 0.4969 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/1.234, allocations: 15.72 kB / 0.4969 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/1.234, allocations: 19.52 kB / 0.4969 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/1.234, allocations: 7.562 kB / 0.4969 GB, free: 4.887 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001147/1.234, allocations: 184.5 kB / 0.4971 GB, free: 4.809 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/1.234, allocations: 0 / 0.4971 GB, free: 4.809 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001419/1.236, allocations: 406.8 kB / 0.4975 GB, free: 4.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,Pulse1.T0,Pulse1.yL.signal,pulse.T0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002011/1.238, allocations: 1.277 MB / 0.4987 GB, free: 4.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004589/1.242, allocations: 0.952 MB / 0.4996 GB, free: 3.918 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.242, allocations: 0 / 0.4996 GB, free: 3.918 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003912/1.246, allocations: 0.6744 MB / 0.5003 GB, free: 3.797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/1.246, allocations: 37.5 kB / 0.5003 GB, free: 3.793 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/1.25, allocations: 2.77 MB / 0.503 GB, free: 18.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.61e-05/1.25, allocations: 135.5 kB / 0.5032 GB, free: 18.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.105e-05/1.25, allocations: 23.41 kB / 0.5032 GB, free: 18.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.629e-05/1.25, allocations: 72.34 kB / 0.5033 GB, free: 18.04 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/1.25, allocations: 0 / 0.5033 GB, free: 18.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/1.283, allocations: 17.18 MB / 0.52 GB, free: 4.906 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/9.634, allocations: 7.078 kB / 0.52 GB, free: 4.902 MB / 458.7 MB " [Timeout remaining time 650] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.02038836106658] Failed to read output from testmodel.py, exit status != 0: 9.932968989945948 9.859453775 8.641385792 Calling exit ...