Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.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.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_CentrifugalPump_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.7783/0.7783, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.271e-05, allocations: 4 kB / 204.9 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 31.98 MB / 236.8 MB, free: 5.156 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.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump): time 1.582/1.723, allocations: 295.3 MB / 0.5197 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03845/1.761, allocations: 33.58 MB / 0.5525 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/1.761, allocations: 4 kB / 0.5525 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/1.762, allocations: 107.4 kB / 0.5526 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/1.762, allocations: 146.8 kB / 0.5527 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01787/1.78, allocations: 6.633 MB / 0.5592 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008215/1.781, allocations: 0.6896 MB / 0.5599 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/1.781, allocations: 246.5 kB / 0.5601 GB, free: 2.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/1.782, allocations: 254.9 kB / 0.5604 GB, free: 2.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/1.782, allocations: 274.7 kB / 0.5606 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/1.782, allocations: 24 kB / 0.5607 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02483/1.807, allocations: 14.98 MB / 0.5753 GB, free: 3.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/1.807, allocations: 95.53 kB / 0.5754 GB, free: 3.316 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/1.807, allocations: 284.3 kB / 0.5756 GB, free: 3.031 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01861/1.826, allocations: 7.754 MB / 0.5832 GB, free: 11.26 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.826, allocations: 0 / 0.5832 GB, free: 11.26 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.785e-06/1.826, allocations: 4 kB / 0.5832 GB, free: 11.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/1.826, allocations: 0 / 0.5832 GB, free: 11.25 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.005303/1.831, allocations: 1.747 MB / 0.5849 GB, free: 9.453 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.831, allocations: 8.031 kB / 0.5849 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/1.832, allocations: 86.52 kB / 0.585 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.824e-05/1.832, allocations: 63.19 kB / 0.5851 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/1.832, allocations: 333.8 kB / 0.5854 GB, free: 8.926 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/1.832, allocations: 62.7 kB / 0.5855 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-05/1.832, allocations: 36 kB / 0.5855 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/1.834, allocations: 0.6844 MB / 0.5862 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.834, allocations: 7.938 kB / 0.5862 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/1.834, allocations: 19.94 kB / 0.5862 GB, free: 8.074 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/1.834, allocations: 19.98 kB / 0.5862 GB, free: 8.055 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/1.836, allocations: 0.6875 MB / 0.5869 GB, free: 7.367 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.002989/1.839, allocations: 3.146 MB / 0.5899 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/1.841, allocations: 0.797 MB / 0.5907 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008813/1.842, allocations: 346.1 kB / 0.5911 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08042/1.922, allocations: 44.49 MB / 0.6345 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/1.924, allocations: 398.6 kB / 0.6349 GB, free: 344 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 3.717e-06/1.924, allocations: 2.25 kB / 0.6349 GB, free: 344 kB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.009578/1.933, allocations: 2.426 MB / 0.6373 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.933, allocations: 63.19 kB / 0.6373 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/1.934, allocations: 329.6 kB / 0.6376 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/1.934, allocations: 33.7 kB / 0.6377 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/1.934, allocations: 236.7 kB / 0.6379 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/1.934, allocations: 228.6 kB / 0.6381 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/1.934, allocations: 61.67 kB / 0.6382 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.934, allocations: 366.7 kB / 0.6385 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/1.935, allocations: 297.4 kB / 0.6388 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009419/1.936, allocations: 453.2 kB / 0.6392 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007223/1.943, allocations: 1.959 MB / 0.6411 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.943, allocations: 7.938 kB / 0.6411 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002849/1.946, allocations: 1.068 MB / 0.6422 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.946, allocations: 13.19 kB / 0.6422 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.946, allocations: 4 kB / 0.6422 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/1.949, allocations: 0.8456 MB / 0.643 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/1.95, allocations: 175.7 kB / 0.6432 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/1.952, allocations: 1.589 MB / 0.6448 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006345/1.952, allocations: 115.3 kB / 0.6449 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/1.953, allocations: 27.98 kB / 0.6449 GB, free: 5.785 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.0002941/1.953, allocations: 181.7 kB / 0.6451 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/1.953, allocations: 47.38 kB / 0.6451 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/1.957, allocations: 1.547 MB / 0.6466 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002515/1.959, allocations: 1.095 MB / 0.6477 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.959, allocations: 0 / 0.6477 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.959, allocations: 7.922 kB / 0.6477 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/1.964, allocations: 2.294 MB / 0.6499 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.964, allocations: 4.125 kB / 0.6499 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/1.965, allocations: 199.8 kB / 0.6501 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/1.967, allocations: 0.7044 MB / 0.6508 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/1.967, allocations: 19.92 kB / 0.6508 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/1.968, allocations: 1.637 MB / 0.6524 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.968, allocations: 0 / 0.6524 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/1.972, allocations: 1.706 MB / 0.6541 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/1.972, allocations: 184.1 kB / 0.6543 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/1.973, allocations: 16 kB / 0.6543 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/1.973, allocations: 79.94 kB / 0.6544 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.973, allocations: 60.56 kB / 0.6544 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/1.973, allocations: 23.98 kB / 0.6545 GB, free: 11.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002208/1.974, allocations: 219.2 kB / 0.6547 GB, free: 11.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.252e-06/1.974, allocations: 0 / 0.6547 GB, free: 11.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0032/1.977, allocations: 1.163 MB / 0.6558 GB, free: 10.42 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.009731/1.987, allocations: 3.763 MB / 0.6595 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002934/1.989, allocations: 1.022 MB / 0.6605 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.99, allocations: 0 / 0.6605 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/1.991, allocations: 0.566 MB / 0.661 GB, free: 5.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.992, allocations: 184.2 kB / 0.6612 GB, free: 4.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/2.006, allocations: 6.484 MB / 0.6675 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/2.007, allocations: 0.9074 MB / 0.6684 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003347/2.007, allocations: 56.19 kB / 0.6685 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/2.007, allocations: 235.3 kB / 0.6687 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/2.007, allocations: 0 / 0.6687 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2571/2.265, allocations: 52.32 MB / 0.7198 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/2.265, allocations: 267.4 kB / 0.72 GB, free: 201.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.487/6.752, allocations: 1.25 kB / 0.72 GB, free: 201.5 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe 2>&1)