Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestMassFlowMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_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.7635/0.7635, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.457e-05, allocations: 4 kB / 204.9 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1295, allocations: 31.99 MB / 236.8 MB, free: 5.422 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.TestMassFlowMultiplier): time 1.426/1.555, allocations: 295.4 MB / 0.5198 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1743/1.73, allocations: 186.4 MB / 0.7018 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/1.73, allocations: 11.94 kB / 0.7018 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/1.73, allocations: 47.56 kB / 0.7019 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004001/1.731, allocations: 170.7 kB / 0.702 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2979/2.029, allocations: 8.981 MB / 0.7108 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007163/2.029, allocations: 0.665 MB / 0.7115 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/2.03, allocations: 325.6 kB / 0.7118 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/2.03, allocations: 229.4 kB / 0.712 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/2.03, allocations: 259.8 kB / 0.7122 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/2.03, allocations: 31.47 kB / 0.7123 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02491/2.055, allocations: 16.88 MB / 0.7288 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/2.055, allocations: 104.4 kB / 0.7289 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003671/2.056, allocations: 314.9 kB / 0.7292 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01608/2.072, allocations: 8.858 MB / 0.7378 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/2.072, allocations: 0 / 0.7378 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/2.072, allocations: 5.188 kB / 0.7378 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.506e-06/2.072, allocations: 0 / 0.7378 GB, free: 2.68 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003706/2.075, allocations: 1.705 MB / 0.7395 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/2.075, allocations: 7.875 kB / 0.7395 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.759e-05/2.076, allocations: 113.8 kB / 0.7396 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/2.076, allocations: 80.5 kB / 0.7397 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/2.076, allocations: 386.8 kB / 0.74 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/2.076, allocations: 55.91 kB / 0.7401 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/2.076, allocations: 64.52 kB / 0.7402 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/2.077, allocations: 0.6924 MB / 0.7408 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/2.077, allocations: 3.312 kB / 0.7408 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/2.077, allocations: 27.41 kB / 0.7409 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/2.077, allocations: 21.41 kB / 0.7409 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/2.078, allocations: 463.2 kB / 0.7413 GB, free: 0.8047 MB / 0.5762 GB 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.06918/2.147, allocations: 35.04 MB / 0.7755 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/2.147, allocations: 165.2 kB / 0.7757 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/2.147, allocations: 67.78 kB / 0.7758 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5789/2.726, allocations: 215.1 MB / 0.9858 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/2.726, allocations: 39.44 kB / 0.9858 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/2.726, allocations: 0 / 0.9858 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001497/2.728, allocations: 0.6565 MB / 0.9865 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/2.728, allocations: 54.19 kB / 0.9865 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/2.728, allocations: 437.6 kB / 0.9869 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/2.728, allocations: 25.7 kB / 0.987 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/2.728, allocations: 364.2 kB / 0.9873 GB, free: 455.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/2.728, allocations: 60.19 kB / 0.9874 GB, free: 455.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/2.728, allocations: 54.31 kB / 0.9874 GB, free: 455.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.679e-05/2.728, allocations: 345.8 kB / 0.9878 GB, free: 455.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/2.729, allocations: 88.72 kB / 0.9878 GB, free: 455.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/2.729, allocations: 318.6 kB / 0.9881 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/2.729, allocations: 425.5 kB / 0.9885 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/2.729, allocations: 3.094 kB / 0.9885 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001/2.73, allocations: 0.556 MB / 0.9891 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/2.73, allocations: 8.844 kB / 0.9891 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/2.73, allocations: 7.375 kB / 0.9891 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/2.731, allocations: 138.6 kB / 0.9892 GB, free: 454.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/2.731, allocations: 77.22 kB / 0.9893 GB, free: 454.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/2.732, allocations: 2.46 MB / 0.9917 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/2.733, allocations: 78.88 kB / 0.9918 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/2.733, allocations: 28.12 kB / 0.9918 GB, free: 452.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 14 (massFlowMultiplier.fluid1,massFlowMultiplier.Cs.ftype,sourcePQ.C.ftype,massFlowMultiplier.fluids[1],sink.fluid,singularPressureLoss.fluid,singularPressureLoss1.fluid,sourcePQ.fluid1,massFlowMultiplier.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,massFlowMultiplier.Ce.diff_on_2,sourcePQ.C.diff_on_2,massFlowMultiplier.Cs.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002068/2.733, allocations: 190.4 kB / 0.992 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/2.733, allocations: 39.38 kB / 0.992 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007197/2.734, allocations: 354.5 kB / 0.9924 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/2.734, allocations: 1.359 kB / 0.9924 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/2.734, allocations: 2.156 kB / 0.9924 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/2.734, allocations: 0 / 0.9924 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/2.734, allocations: 446.4 kB / 0.9928 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/2.734, allocations: 0.75 kB / 0.9928 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/2.734, allocations: 12.84 kB / 0.9928 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004031/2.735, allocations: 117.4 kB / 0.9929 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/2.735, allocations: 5.969 kB / 0.9929 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/2.736, allocations: 2.431 MB / 0.9953 GB, free: 449.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/2.736, allocations: 0 / 0.9953 GB, free: 449.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/2.736, allocations: 401.5 kB / 0.9957 GB, free: 449.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/2.736, allocations: 134.9 kB / 0.9958 GB, free: 449 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/2.736, allocations: 8.344 kB / 0.9958 GB, free: 449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/2.737, allocations: 3.438 kB / 0.9958 GB, free: 449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/2.737, allocations: 12.89 kB / 0.9958 GB, free: 449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/2.737, allocations: 6.484 kB / 0.9959 GB, free: 449 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002564/2.737, allocations: 288.7 kB / 0.9961 GB, free: 448.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/2.737, allocations: 0 / 0.9961 GB, free: 448.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003148/2.74, allocations: 1.323 MB / 0.9974 GB, free: 448.8 MB / 0.8106 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 (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.005992/2.746, allocations: 2.71 MB / 1 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006364/2.747, allocations: 385.2 kB / 1 GB, free: 447.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/2.747, allocations: 0 / 1 GB, free: 447.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/2.747, allocations: 213.4 kB / 1.001 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/2.747, allocations: 95.62 kB / 1.001 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/2.753, allocations: 4.519 MB / 1.005 GB, free: 445 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/2.753, allocations: 0.8499 MB / 1.006 GB, free: 444.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002292/2.753, allocations: 70.19 kB / 1.006 GB, free: 444.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/2.754, allocations: 179.1 kB / 1.006 GB, free: 444.3 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/2.754, allocations: 0 / 1.006 GB, free: 444.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5843/3.338, allocations: 48.5 MB / 1.054 GB, free: 405.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/3.338, allocations: 299.8 kB / 1.054 GB, free: 405.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.161/7.499, allocations: 0 / 1.054 GB, free: 405.1 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestMassFlowMultiplier_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestMassFlowMultiplier.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe 2>&1)