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.7851/0.7851, allocations: 150.9 MB / 166 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003019, allocations: 11.98 kB / 204.1 MB, free: 9.984 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 31.33 MB / 235.4 MB, free: 5.418 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.543/1.679, allocations: 294.5 MB / 0.5175 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4684/2.148, allocations: 188.6 MB / 0.7017 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/2.148, allocations: 9.812 kB / 0.7017 GB, free: 3.766 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/MassFlowMultiplier.mo:43:3-44:67:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/MassFlowMultiplier.mo:45:3-46:65:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000258/2.148, allocations: 51.05 kB / 0.7018 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005382/2.149, allocations: 176.2 kB / 0.7019 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02355/2.173, allocations: 8.816 MB / 0.7105 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009783/2.174, allocations: 0.6667 MB / 0.7112 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004581/2.174, allocations: 365.8 kB / 0.7115 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004151/2.174, allocations: 266.9 kB / 0.7118 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/2.175, allocations: 315 kB / 0.7121 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.61e-05/2.175, allocations: 49.38 kB / 0.7121 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02597/2.201, allocations: 16.82 MB / 0.7286 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/2.201, allocations: 136 kB / 0.7287 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004122/2.202, allocations: 330.3 kB / 0.729 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01854/2.22, allocations: 8.953 MB / 0.7377 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/2.22, allocations: 9.969 kB / 0.7378 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.032e-06/2.22, allocations: 0 / 0.7378 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.807e-06/2.22, allocations: 0 / 0.7378 GB, free: 1.852 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.004144/2.224, allocations: 1.829 MB / 0.7395 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/2.224, allocations: 10.97 kB / 0.7396 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.052e-05/2.224, allocations: 109.8 kB / 0.7397 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/2.225, allocations: 79.19 kB / 0.7397 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/2.225, allocations: 392.2 kB / 0.7401 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/2.225, allocations: 54.23 kB / 0.7402 GB, free: 312 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/2.225, allocations: 64.56 kB / 0.7402 GB, free: 312 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000905/2.226, allocations: 0.6909 MB / 0.7409 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/2.226, allocations: 5.812 kB / 0.7409 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/2.226, allocations: 28.38 kB / 0.7409 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/2.226, allocations: 20.84 kB / 0.7409 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007309/2.227, allocations: 451 kB / 0.7414 GB, free: 15.97 MB / 0.5919 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.07311/2.3, allocations: 34.76 MB / 0.7753 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/2.3, allocations: 176 kB / 0.7755 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/2.3, allocations: 61.91 kB / 0.7755 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6065/2.907, allocations: 213.2 MB / 0.9837 GB, free: 476.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/2.907, allocations: 33.22 kB / 0.9837 GB, free: 476.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/2.907, allocations: 0 / 0.9837 GB, free: 476.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001725/2.909, allocations: 0.653 MB / 0.9844 GB, free: 476.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/2.909, allocations: 55.92 kB / 0.9844 GB, free: 476.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/2.909, allocations: 433.2 kB / 0.9848 GB, free: 476.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/2.909, allocations: 29.67 kB / 0.9849 GB, free: 476.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/2.91, allocations: 366.5 kB / 0.9852 GB, free: 476.1 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/2.91, allocations: 63.28 kB / 0.9853 GB, free: 476.1 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/2.91, allocations: 106.2 kB / 0.9854 GB, free: 476.1 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/2.91, allocations: 345.4 kB / 0.9857 GB, free: 475.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/2.91, allocations: 87.81 kB / 0.9858 GB, free: 475.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/2.91, allocations: 314.2 kB / 0.9861 GB, free: 475.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/2.911, allocations: 436.1 kB / 0.9865 GB, free: 475.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/2.911, allocations: 7.047 kB / 0.9865 GB, free: 475.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001162/2.912, allocations: 0.5437 MB / 0.987 GB, free: 475.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/2.912, allocations: 8.438 kB / 0.9871 GB, free: 475.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/2.912, allocations: 8.609 kB / 0.9871 GB, free: 475.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/2.913, allocations: 136.3 kB / 0.9872 GB, free: 475.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/2.913, allocations: 77.7 kB / 0.9873 GB, free: 475.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/2.914, allocations: 2.458 MB / 0.9897 GB, free: 472.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/2.915, allocations: 74.28 kB / 0.9897 GB, free: 472.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/2.915, allocations: 27.16 kB / 0.9898 GB, free: 472.7 MB / 0.8262 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.0002187/2.915, allocations: 196.3 kB / 0.9899 GB, free: 472.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/2.915, allocations: 39.77 kB / 0.99 GB, free: 472.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/2.916, allocations: 345.2 kB / 0.9903 GB, free: 472.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/2.916, allocations: 7.297 kB / 0.9903 GB, free: 472.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/2.916, allocations: 1.938 kB / 0.9903 GB, free: 472.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/2.916, allocations: 0.9844 kB / 0.9903 GB, free: 472.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/2.916, allocations: 447.5 kB / 0.9908 GB, free: 472.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/2.916, allocations: 0 / 0.9908 GB, free: 472.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/2.916, allocations: 10.56 kB / 0.9908 GB, free: 472.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/2.917, allocations: 120.1 kB / 0.9909 GB, free: 472.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/2.917, allocations: 7.531 kB / 0.9909 GB, free: 472.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/2.918, allocations: 2.434 MB / 0.9933 GB, free: 470 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/2.918, allocations: 0 / 0.9933 GB, free: 470 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/2.919, allocations: 403 kB / 0.9936 GB, free: 469.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/2.919, allocations: 130.2 kB / 0.9938 GB, free: 469.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/2.919, allocations: 7.031 kB / 0.9938 GB, free: 469.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/2.919, allocations: 2.875 kB / 0.9938 GB, free: 469.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/2.919, allocations: 19.36 kB / 0.9938 GB, free: 469.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/2.919, allocations: 5.406 kB / 0.9938 GB, free: 469.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003008/2.919, allocations: 286 kB / 0.9941 GB, free: 469.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/2.919, allocations: 0.8438 kB / 0.9941 GB, free: 469.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003476/2.923, allocations: 1.325 MB / 0.9954 GB, free: 469.6 MB / 0.8262 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.006896/2.93, allocations: 2.73 MB / 0.998 GB, free: 468.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007523/2.931, allocations: 387.9 kB / 0.9984 GB, free: 468.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/2.931, allocations: 0 / 0.9984 GB, free: 468.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/2.931, allocations: 207.4 kB / 0.9986 GB, free: 468.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/2.932, allocations: 102 kB / 0.9987 GB, free: 468.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006968/2.939, allocations: 4.504 MB / 1.003 GB, free: 466 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/2.939, allocations: 0.8425 MB / 1.004 GB, free: 465.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002898/2.939, allocations: 74.98 kB / 1.004 GB, free: 465.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/2.939, allocations: 181.9 kB / 1.004 GB, free: 465.3 MB / 0.8262 GB Notification: Performance of SimCode: time 8.92e-07/2.939, allocations: 0 / 1.004 GB, free: 465.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06722/3.007, allocations: 49.49 MB / 1.053 GB, free: 434.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/3.007, allocations: 301.8 kB / 1.053 GB, free: 433.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.374/7.381, allocations: 0 / 1.053 GB, free: 433.7 MB / 0.8262 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)