Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.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.Fluid.Examples.SimpleExamples.TestCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCentrifugalPump1",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 1.112/1.112, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.412e-05, allocations: 0 / 204.9 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2672, allocations: 31.98 MB / 236.8 MB, free: 5.395 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.Fluid.Examples.SimpleExamples.TestCentrifugalPump1): time 2.036/2.304, allocations: 296.4 MB / 0.5207 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2684/2.572, allocations: 187.1 MB / 0.7034 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009072/2.573, allocations: 15.94 kB / 0.7034 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/2.574, allocations: 71.33 kB / 0.7035 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.5084/3.082, allocations: 281 kB / 0.7038 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03371/3.116, allocations: 9.176 MB / 0.7127 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001913/3.118, allocations: 1.098 MB / 0.7138 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006163/3.118, allocations: 0.5017 MB / 0.7143 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005908/3.119, allocations: 428.5 kB / 0.7147 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005263/3.119, allocations: 462.4 kB / 0.7151 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-05/3.119, allocations: 39.97 kB / 0.7152 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0362/3.156, allocations: 16.84 MB / 0.7316 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005126/3.156, allocations: 384.9 kB / 0.732 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009179/3.157, allocations: 0.679 MB / 0.7326 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02805/3.185, allocations: 9.666 MB / 0.7421 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/3.185, allocations: 0 / 0.7421 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/3.185, allocations: 0.5625 kB / 0.7421 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.351e-05/3.185, allocations: 3.062 kB / 0.7421 GB, free: 0.5273 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.007407/3.193, allocations: 2.703 MB / 0.7447 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/3.193, allocations: 8.719 kB / 0.7447 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/3.193, allocations: 143.9 kB / 0.7449 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/3.193, allocations: 223 kB / 0.7451 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/3.194, allocations: 0.81 MB / 0.7459 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/3.194, allocations: 75.97 kB / 0.7459 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/3.194, allocations: 90.16 kB / 0.746 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/3.196, allocations: 1.339 MB / 0.7473 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/3.196, allocations: 0 / 0.7473 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/3.196, allocations: 41.78 kB / 0.7474 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/3.196, allocations: 26.91 kB / 0.7474 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/3.198, allocations: 1.409 MB / 0.7488 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1553/3.353, allocations: 67.03 MB / 0.8142 GB, free: 116 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/3.356, allocations: 1.681 MB / 0.8159 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007695/3.357, allocations: 0.5237 MB / 0.8164 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2329/3.59, allocations: 111.5 MB / 0.9253 GB, free: 5.012 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/3.59, allocations: 42.3 kB / 0.9253 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/3.59, allocations: 0 / 0.9253 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of matching and sorting (n=53): time 0.008057/3.598, allocations: 2.969 MB / 0.9282 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/3.598, allocations: 89.11 kB / 0.9283 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/3.601, allocations: 1.705 MB / 0.93 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/3.601, allocations: 32.33 kB / 0.93 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000786/3.602, allocations: 0.8713 MB / 0.9308 GB, free: 404 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/3.602, allocations: 192.8 kB / 0.931 GB, free: 240 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/3.602, allocations: 72.17 kB / 0.9311 GB, free: 188 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001399/3.602, allocations: 337.2 kB / 0.9314 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00084/3.603, allocations: 0.5277 MB / 0.9319 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/3.604, allocations: 0.7765 MB / 0.9327 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/3.606, allocations: 1.322 MB / 0.934 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/3.606, allocations: 4 kB / 0.934 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003245/3.609, allocations: 1.88 MB / 0.9358 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/3.609, allocations: 8 kB / 0.9358 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/3.609, allocations: 8 kB / 0.9358 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008143/3.617, allocations: 1.507 MB / 0.9373 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/3.618, allocations: 136.5 kB / 0.9374 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/3.62, allocations: 2.374 MB / 0.9398 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/3.621, allocations: 125.4 kB / 0.9399 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/3.622, allocations: 42.78 kB / 0.9399 GB, free: 8.254 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 12 (sourcePQ1.C.ftype,centrifugalPump1.fluid,sink1.fluid,sourcePQ1.fluid1,sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ1.C.diff_on_2,centrifugalPump1.C2.diff_on_1,sourcePQ.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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 {(2,13), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0006807/3.622, allocations: 421.3 kB / 0.9403 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/3.622, allocations: 173.8 kB / 0.9405 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/3.625, allocations: 1.731 MB / 0.9422 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/3.625, allocations: 12 kB / 0.9422 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/3.625, allocations: 0 / 0.9422 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/3.625, allocations: 5.844 kB / 0.9422 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/3.63, allocations: 2.989 MB / 0.9451 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/3.63, allocations: 0 / 0.9451 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/3.63, allocations: 62.86 kB / 0.9452 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005828/3.636, allocations: 1.211 MB / 0.9464 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/3.636, allocations: 13.73 kB / 0.9464 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/3.639, allocations: 2.385 MB / 0.9487 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/3.639, allocations: 0 / 0.9487 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/3.642, allocations: 1.805 MB / 0.9505 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/3.643, allocations: 270.7 kB / 0.9507 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/3.643, allocations: 19.98 kB / 0.9507 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/3.644, allocations: 39.97 kB / 0.9508 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/3.644, allocations: 33.75 kB / 0.9508 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/3.644, allocations: 24 kB / 0.9508 GB, free: 14.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001917/3.646, allocations: 1.155 MB / 0.952 GB, free: 13.31 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.71e-07/3.646, allocations: 4 kB / 0.952 GB, free: 13.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006238/3.652, allocations: 1.432 MB / 0.9534 GB, free: 11.87 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 23 * 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 {(2,15), (2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01232/3.664, allocations: 4.215 MB / 0.9575 GB, free: 7.879 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002556/3.667, allocations: 1.273 MB / 0.9587 GB, free: 6.637 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/3.667, allocations: 4.062 kB / 0.9587 GB, free: 6.633 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/3.668, allocations: 0.6264 MB / 0.9593 GB, free: 6.012 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/3.67, allocations: 178.8 kB / 0.9595 GB, free: 5.832 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/3.704, allocations: 16.37 MB / 0.9755 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/3.705, allocations: 1.327 MB / 0.9768 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005677/3.706, allocations: 97.95 kB / 0.9769 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009494/3.707, allocations: 0.593 MB / 0.9775 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of SimCode: time 6.753e-06/3.707, allocations: 0 / 0.9775 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3425/4.049, allocations: 65.6 MB / 1.042 GB, free: 425.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/4.05, allocations: 285.8 kB / 1.042 GB, free: 424.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.436/8.486, allocations: 0 / 1.042 GB, free: 424.9 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe 2>&1)