Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",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.7929/0.7929, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.053e-05, allocations: 4 kB / 204.9 MB, free: 9.957 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.164, allocations: 31.98 MB / 236.8 MB, free: 5.172 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.TestStaticCentrifugalPump1): time 1.512/1.676, allocations: 294.7 MB / 0.5191 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03855/1.715, allocations: 36.99 MB / 0.5552 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/1.715, allocations: 4 kB / 0.5552 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/1.715, allocations: 87.53 kB / 0.5553 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/1.716, allocations: 91.3 kB / 0.5554 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0184/1.734, allocations: 7.323 MB / 0.5625 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/1.735, allocations: 382.3 kB / 0.5629 GB, free: 460 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/1.735, allocations: 119.3 kB / 0.563 GB, free: 344 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/1.735, allocations: 135.3 kB / 0.5631 GB, free: 208 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/1.735, allocations: 123.3 kB / 0.5632 GB, free: 84 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/1.735, allocations: 8 kB / 0.5632 GB, free: 76 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02622/1.761, allocations: 17.8 MB / 0.5806 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/1.761, allocations: 43.72 kB / 0.5807 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/1.762, allocations: 160.9 kB / 0.5808 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/1.776, allocations: 8.37 MB / 0.589 GB, free: 5.652 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.776, allocations: 8 kB / 0.589 GB, free: 5.645 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.824e-06/1.776, allocations: 0 / 0.589 GB, free: 5.645 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/1.776, allocations: 0 / 0.589 GB, free: 5.645 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003343/1.78, allocations: 1.439 MB / 0.5904 GB, free: 4.156 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.78, allocations: 8.031 kB / 0.5904 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/1.78, allocations: 66.53 kB / 0.5905 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/1.78, allocations: 31.56 kB / 0.5905 GB, free: 4.043 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/1.78, allocations: 254.9 kB / 0.5908 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/1.78, allocations: 16.56 kB / 0.5908 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/1.78, allocations: 24 kB / 0.5908 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/1.781, allocations: 332.2 kB / 0.5911 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.781, allocations: 4 kB / 0.5911 GB, free: 3.359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/1.781, allocations: 8 kB / 0.5911 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/1.781, allocations: 19.88 kB / 0.5911 GB, free: 3.332 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/1.781, allocations: 229.2 kB / 0.5914 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03567/1.817, allocations: 18.13 MB / 0.6091 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/1.817, allocations: 212.1 kB / 0.6093 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/1.817, allocations: 124.8 kB / 0.6094 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1531/1.971, allocations: 77.94 MB / 0.6855 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/1.971, allocations: 38.5 kB / 0.6855 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.114e-06/1.971, allocations: 0 / 0.6855 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.00446/1.975, allocations: 1.085 MB / 0.6866 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.975, allocations: 59.34 kB / 0.6867 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/1.975, allocations: 258.5 kB / 0.6869 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/1.975, allocations: 25.7 kB / 0.6869 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.323e-05/1.975, allocations: 148.7 kB / 0.6871 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/1.976, allocations: 137.9 kB / 0.6872 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/1.976, allocations: 37.7 kB / 0.6872 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.976, allocations: 346.7 kB / 0.6876 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/1.976, allocations: 100.3 kB / 0.6877 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/1.976, allocations: 150.9 kB / 0.6878 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/1.977, allocations: 274 kB / 0.6881 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.977, allocations: 0 / 0.6881 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00253/1.979, allocations: 0.688 MB / 0.6887 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.979, allocations: 5.25 kB / 0.6887 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.979, allocations: 3.938 kB / 0.6887 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008197/1.98, allocations: 228.7 kB / 0.689 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/1.98, allocations: 13.08 kB / 0.689 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008487/1.981, allocations: 0.7533 MB / 0.6897 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/1.981, allocations: 39.53 kB / 0.6897 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/1.981, allocations: 12.03 kB / 0.6898 GB, free: 3.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.981, allocations: 142.2 kB / 0.6899 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/1.981, allocations: 31.62 kB / 0.6899 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009452/1.982, allocations: 0.7911 MB / 0.6907 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004794/1.983, allocations: 306.5 kB / 0.691 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.983, allocations: 11.88 kB / 0.691 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.983, allocations: 3.984 kB / 0.691 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/1.984, allocations: 0.8755 MB / 0.6919 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.984, allocations: 3.938 kB / 0.6919 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/1.984, allocations: 23.98 kB / 0.6919 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/1.985, allocations: 230.8 kB / 0.6921 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/1.985, allocations: 8 kB / 0.6921 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007259/1.986, allocations: 0.7672 MB / 0.6929 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.986, allocations: 0 / 0.6929 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1517/2.137, allocations: 435.5 kB / 0.6933 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/2.137, allocations: 148.3 kB / 0.6934 GB, free: 228.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/2.138, allocations: 4.656 kB / 0.6934 GB, free: 228.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/2.138, allocations: 15.36 kB / 0.6934 GB, free: 228.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/2.138, allocations: 11.28 kB / 0.6935 GB, free: 228.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/2.138, allocations: 8.5 kB / 0.6935 GB, free: 228.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002408/2.138, allocations: 251.9 kB / 0.6937 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/2.138, allocations: 1.031 kB / 0.6937 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002769/2.141, allocations: 1.191 MB / 0.6949 GB, free: 228.4 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005727/2.147, allocations: 2.612 MB / 0.6974 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007879/2.147, allocations: 336.6 kB / 0.6977 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/2.147, allocations: 1.031 kB / 0.6977 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/2.148, allocations: 146.8 kB / 0.6979 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/2.149, allocations: 120.9 kB / 0.698 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008053/2.157, allocations: 4.18 MB / 0.7021 GB, free: 226 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/2.157, allocations: 0.7803 MB / 0.7028 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001343/2.157, allocations: 23.17 kB / 0.7029 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/2.157, allocations: 100.5 kB / 0.703 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/2.157, allocations: 0 / 0.703 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06247/2.22, allocations: 47.77 MB / 0.7496 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/2.22, allocations: 251.9 kB / 0.7498 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.833/6.053, allocations: 0 / 0.7498 GB, free: 196.3 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)