Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.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.TestMassFlowMultiplier,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestMassFlowMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestMassFlowMultiplier",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.8327/0.8327, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.012e-05, allocations: 4 kB / 204.9 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1682, allocations: 31.99 MB / 236.8 MB, free: 5.371 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.TestMassFlowMultiplier): time 1.577/1.746, allocations: 294.9 MB / 0.5193 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03676/1.782, allocations: 32.97 MB / 0.5515 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/1.783, allocations: 4 kB / 0.5515 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/1.783, allocations: 91.53 kB / 0.5516 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/1.783, allocations: 103.1 kB / 0.5517 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01669/1.8, allocations: 6.411 MB / 0.5579 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005592/1.8, allocations: 417.9 kB / 0.5583 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/1.801, allocations: 141 kB / 0.5585 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/1.801, allocations: 143.2 kB / 0.5586 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/1.801, allocations: 127.2 kB / 0.5587 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/1.801, allocations: 16 kB / 0.5587 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02392/1.825, allocations: 14.95 MB / 0.5733 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.397e-05/1.825, allocations: 47.72 kB / 0.5734 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/1.825, allocations: 188.8 kB / 0.5736 GB, free: 5.523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01658/1.842, allocations: 7.532 MB / 0.5809 GB, free: 13.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.842, allocations: 4 kB / 0.5809 GB, free: 13.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.346e-06/1.842, allocations: 0 / 0.5809 GB, free: 13.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/1.842, allocations: 4 kB / 0.5809 GB, free: 13.96 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00373/1.846, allocations: 1.334 MB / 0.5822 GB, free: 12.58 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/1.846, allocations: 8.031 kB / 0.5822 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.389e-05/1.846, allocations: 74.53 kB / 0.5823 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/1.846, allocations: 43.47 kB / 0.5823 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/1.846, allocations: 265.8 kB / 0.5826 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/1.846, allocations: 20.66 kB / 0.5826 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/1.846, allocations: 32 kB / 0.5826 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/1.847, allocations: 389.2 kB / 0.583 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.847, allocations: 11.94 kB / 0.583 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/1.847, allocations: 12 kB / 0.583 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/1.847, allocations: 23.92 kB / 0.5831 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/1.847, allocations: 218.5 kB / 0.5833 GB, free: 11.43 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.001931/1.849, allocations: 2.435 MB / 0.5856 GB, free: 8.715 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/1.849, allocations: 159.1 kB / 0.5858 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/1.85, allocations: 109.2 kB / 0.5859 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08138/1.931, allocations: 44.47 MB / 0.6293 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/1.931, allocations: 34.56 kB / 0.6294 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.344e-06/1.931, allocations: 0 / 0.6294 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.001725/1.933, allocations: 0.7199 MB / 0.6301 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/1.933, allocations: 51.41 kB / 0.6301 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/1.933, allocations: 252.9 kB / 0.6304 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/1.933, allocations: 25.7 kB / 0.6304 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.933, allocations: 176.2 kB / 0.6305 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/1.933, allocations: 130 kB / 0.6307 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/1.933, allocations: 41.64 kB / 0.6307 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.934, allocations: 338.8 kB / 0.631 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/1.934, allocations: 76.34 kB / 0.6311 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/1.934, allocations: 138.3 kB / 0.6312 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/1.934, allocations: 240.5 kB / 0.6315 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.934, allocations: 0 / 0.6315 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005896/1.935, allocations: 375.7 kB / 0.6318 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.935, allocations: 8 kB / 0.6318 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.935, allocations: 0 / 0.6318 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/1.935, allocations: 254.9 kB / 0.6321 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.239e-05/1.936, allocations: 8 kB / 0.6321 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/1.938, allocations: 2.585 MB / 0.6346 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/1.938, allocations: 31.53 kB / 0.6346 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/1.938, allocations: 12.09 kB / 0.6347 GB, free: 0.5742 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (massFlowMultiplier.Cs.b,massFlowMultiplier.Ce.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sink.C.a,sourcePQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/1.938, allocations: 154 kB / 0.6348 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/1.938, allocations: 31.56 kB / 0.6348 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008836/1.939, allocations: 0.6649 MB / 0.6355 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006444/1.94, allocations: 498 kB / 0.636 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.94, allocations: 3.938 kB / 0.636 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/1.94, allocations: 3.984 kB / 0.636 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/1.941, allocations: 1.256 MB / 0.6372 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.941, allocations: 4 kB / 0.6372 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/1.941, allocations: 51.92 kB / 0.6372 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/1.942, allocations: 271.8 kB / 0.6375 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.942, allocations: 15.94 kB / 0.6375 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/1.944, allocations: 2.617 MB / 0.6401 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.944, allocations: 4 kB / 0.6401 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/1.945, allocations: 0.6138 MB / 0.6407 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/1.945, allocations: 140.5 kB / 0.6408 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/1.945, allocations: 8 kB / 0.6408 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/1.945, allocations: 11.94 kB / 0.6408 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/1.945, allocations: 32.12 kB / 0.6409 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/1.945, allocations: 12 kB / 0.6409 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001534/1.945, allocations: 172.5 kB / 0.641 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.945, allocations: 4 kB / 0.641 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002928/1.948, allocations: 1.109 MB / 0.6421 GB, free: 8.582 MB / 0.5294 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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005557/1.954, allocations: 2.643 MB / 0.6447 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001161/1.955, allocations: 0.5546 MB / 0.6452 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.955, allocations: 0 / 0.6452 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006296/1.956, allocations: 356.9 kB / 0.6456 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/1.957, allocations: 170.1 kB / 0.6457 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006242/1.963, allocations: 3.754 MB / 0.6494 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/1.963, allocations: 0.844 MB / 0.6502 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002032/1.964, allocations: 34.27 kB / 0.6503 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/1.964, allocations: 147.4 kB / 0.6504 GB, free: 15.84 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/1.964, allocations: 4 kB / 0.6504 GB, free: 15.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07442/2.038, allocations: 46.74 MB / 0.6961 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/2.038, allocations: 247.3 kB / 0.6963 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.881/5.919, allocations: 0 / 0.6963 GB, free: 1.051 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestMassFlowMultiplier_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestMassFlowMultiplier.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe 2>&1)