Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7699/0.7699, allocations: 150.8 MB / 166.1 MB, free: 15.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.577e-05, allocations: 4 kB / 204.9 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1479, allocations: 31.99 MB / 236.8 MB, free: 5.41 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump): time 1.532/1.679, allocations: 295.4 MB / 0.5198 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03638/1.716, allocations: 33.58 MB / 0.5526 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/1.716, allocations: 0 / 0.5526 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/1.716, allocations: 111.4 kB / 0.5527 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/1.717, allocations: 146.8 kB / 0.5529 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01734/1.734, allocations: 6.625 MB / 0.5593 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007526/1.735, allocations: 0.6896 MB / 0.56 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/1.735, allocations: 250 kB / 0.5602 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/1.735, allocations: 258.9 kB / 0.5605 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/1.736, allocations: 270.8 kB / 0.5607 GB, free: 2.699 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/1.736, allocations: 24 kB / 0.5608 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02318/1.759, allocations: 14.97 MB / 0.5754 GB, free: 3.684 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/1.759, allocations: 99.5 kB / 0.5755 GB, free: 3.586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003108/1.76, allocations: 280.3 kB / 0.5757 GB, free: 3.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/1.775, allocations: 7.75 MB / 0.5833 GB, free: 11.54 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.776, allocations: 0 / 0.5833 GB, free: 11.54 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.034e-06/1.776, allocations: 4 kB / 0.5833 GB, free: 11.53 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/1.776, allocations: 0 / 0.5833 GB, free: 11.53 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.005131/1.781, allocations: 1.747 MB / 0.585 GB, free: 9.734 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.781, allocations: 12.03 kB / 0.585 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/1.781, allocations: 86.52 kB / 0.5851 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/1.781, allocations: 63.19 kB / 0.5852 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/1.781, allocations: 337.8 kB / 0.5855 GB, free: 9.199 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.694e-05/1.781, allocations: 62.64 kB / 0.5856 GB, free: 9.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/1.782, allocations: 36 kB / 0.5856 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/1.783, allocations: 0.6844 MB / 0.5863 GB, free: 8.375 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.783, allocations: 0 / 0.5863 GB, free: 8.375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/1.783, allocations: 23.94 kB / 0.5863 GB, free: 8.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/1.783, allocations: 19.98 kB / 0.5863 GB, free: 8.332 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/1.785, allocations: 0.6859 MB / 0.587 GB, free: 7.645 MB / 478.1 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.003028/1.788, allocations: 3.146 MB / 0.59 GB, free: 4.199 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/1.79, allocations: 0.8029 MB / 0.5908 GB, free: 3.391 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000903/1.791, allocations: 354.1 kB / 0.5912 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07915/1.871, allocations: 44.47 MB / 0.6346 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/1.872, allocations: 406.5 kB / 0.635 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.795e-06/1.872, allocations: 0 / 0.635 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.009252/1.881, allocations: 2.438 MB / 0.6374 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/1.881, allocations: 59.19 kB / 0.6374 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/1.881, allocations: 329.6 kB / 0.6377 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/1.881, allocations: 37.7 kB / 0.6378 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/1.882, allocations: 224.8 kB / 0.638 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/1.882, allocations: 232.6 kB / 0.6382 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/1.882, allocations: 69.67 kB / 0.6383 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.882, allocations: 354.8 kB / 0.6386 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008939/1.883, allocations: 301.4 kB / 0.6389 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.884, allocations: 461.1 kB / 0.6393 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007307/1.891, allocations: 1.959 MB / 0.6412 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.891, allocations: 3.938 kB / 0.6413 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002789/1.894, allocations: 1.072 MB / 0.6423 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.894, allocations: 8 kB / 0.6423 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.894, allocations: 4 kB / 0.6423 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/1.897, allocations: 0.8449 MB / 0.6431 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/1.898, allocations: 171.8 kB / 0.6433 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/1.9, allocations: 1.589 MB / 0.6449 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/1.9, allocations: 119.2 kB / 0.645 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/1.9, allocations: 27.98 kB / 0.645 GB, free: 6.055 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,pulse.T0,VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a,Bache1.Cs1.a,Bache1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(6,16), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002605/1.901, allocations: 181.6 kB / 0.6452 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/1.901, allocations: 51.36 kB / 0.6452 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/1.905, allocations: 1.54 MB / 0.6467 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002532/1.907, allocations: 1.103 MB / 0.6478 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.907, allocations: 3.938 kB / 0.6478 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.907, allocations: 3.984 kB / 0.6478 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/1.912, allocations: 2.294 MB / 0.65 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.912, allocations: 3.984 kB / 0.65 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008756/1.913, allocations: 199.7 kB / 0.6502 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/1.915, allocations: 0.7005 MB / 0.6509 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/1.915, allocations: 24.12 kB / 0.6509 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/1.916, allocations: 1.637 MB / 0.6525 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/1.916, allocations: 0 / 0.6525 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/1.92, allocations: 1.702 MB / 0.6542 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/1.92, allocations: 192.1 kB / 0.6544 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/1.92, allocations: 8 kB / 0.6544 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/1.921, allocations: 91.92 kB / 0.6545 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.921, allocations: 48.58 kB / 0.6545 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/1.921, allocations: 23.98 kB / 0.6546 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002047/1.921, allocations: 227.1 kB / 0.6548 GB, free: 11.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.921, allocations: 0 / 0.6548 GB, free: 11.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003066/1.925, allocations: 1.159 MB / 0.6559 GB, free: 10.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Bache1.z,Bache1.h) * Number of discrete variables: 2 ($whenCondition1,pulse.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(6,18), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008656/1.933, allocations: 3.752 MB / 0.6596 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002627/1.936, allocations: 1.03 MB / 0.6606 GB, free: 5.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.936, allocations: 0 / 0.6606 GB, free: 5.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.937, allocations: 0.5539 MB / 0.6611 GB, free: 5.309 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/1.938, allocations: 194.2 kB / 0.6613 GB, free: 5.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/1.951, allocations: 6.5 MB / 0.6676 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/1.951, allocations: 0.9035 MB / 0.6685 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002747/1.952, allocations: 64.11 kB / 0.6686 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/1.952, allocations: 223.4 kB / 0.6688 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/1.952, allocations: 0 / 0.6688 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.235/2.187, allocations: 52.27 MB / 0.7198 GB, free: 202 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/2.187, allocations: 250.9 kB / 0.7201 GB, free: 201.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.059/6.246, allocations: 2.25 kB / 0.7201 GB, free: 201.7 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe 2>&1)