Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 103.8 kB / 16.27 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 186.3 kB / 17.19 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6761/0.6761, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2996, allocations: 77.92 MB / 0.5673 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.4909/0.7905, allocations: 239.8 MB / 0.8015 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00881/0.7994, allocations: 7.214 MB / 0.8085 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.8005, allocations: 54.91 kB / 0.8086 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.8018, allocations: 0.7007 MB / 0.8093 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.8054, allocations: 2.064 MB / 0.8113 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.8091, allocations: 2.02 MB / 0.8133 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002808/0.8119, allocations: 3.262 MB / 0.8165 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.8131, allocations: 1.141 MB / 0.8176 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.816, allocations: 1.784 MB / 0.8193 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.8172, allocations: 0.9614 MB / 0.8203 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.8174, allocations: 123.3 kB / 0.8204 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003929/0.8213, allocations: 2.489 MB / 0.8228 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.8217, allocations: 457.2 kB / 0.8232 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.8222, allocations: 0.7195 MB / 0.8239 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.8252, allocations: 2.653 MB / 0.8265 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.8252, allocations: 4.844 kB / 0.8265 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8252, allocations: 0 / 0.8265 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.8252, allocations: 0 / 0.8265 GB, free: 11.89 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002138/0.8273, allocations: 1.717 MB / 0.8282 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.8274, allocations: 7.812 kB / 0.8282 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.8275, allocations: 130.7 kB / 0.8283 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.8299, allocations: 421.6 kB / 0.8287 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.831, allocations: 0.9624 MB / 0.8297 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.831, allocations: 62.38 kB / 0.8297 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.8312, allocations: 87.06 kB / 0.8298 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.8323, allocations: 0.8665 MB / 0.8307 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.8324, allocations: 0 / 0.8307 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/0.8324, allocations: 30.38 kB / 0.8307 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.8325, allocations: 33.44 kB / 0.8307 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.8336, allocations: 0.8116 MB / 0.8315 GB, free: 8.809 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.003321/0.837, allocations: 3.673 MB / 0.8351 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.8381, allocations: 1.089 MB / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.8386, allocations: 374.3 kB / 0.8365 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.8391, allocations: 406.9 kB / 0.8369 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.8391, allocations: 45.28 kB / 0.837 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 1.823e-06/0.8391, allocations: 3 kB / 0.837 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.00168/0.8408, allocations: 0.9509 MB / 0.8379 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.8409, allocations: 67.53 kB / 0.838 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.8416, allocations: 0.8333 MB / 0.8388 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.8417, allocations: 44.05 kB / 0.8388 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.8419, allocations: 476.2 kB / 0.8393 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.8421, allocations: 212.9 kB / 0.8395 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.8422, allocations: 115.6 kB / 0.8396 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.8423, allocations: 333.6 kB / 0.8399 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.8427, allocations: 252.9 kB / 0.8401 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.8432, allocations: 375.2 kB / 0.8405 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.8441, allocations: 0.5871 MB / 0.8411 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8441, allocations: 0 / 0.8411 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001039/0.8451, allocations: 0.7267 MB / 0.8418 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8451, allocations: 4.344 kB / 0.8418 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.8451, allocations: 4.125 kB / 0.8418 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.8452, allocations: 8 kB / 0.8418 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.8457, allocations: 131.5 kB / 0.8419 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8457, allocations: 4 kB / 0.8419 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/0.8464, allocations: 75.39 kB / 0.842 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.8464, allocations: 20 kB / 0.842 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005954/0.847, allocations: 0.4894 MB / 0.8425 GB, free: 424 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004186/0.8474, allocations: 362 kB / 0.8428 GB, free: 36 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009305/0.8484, allocations: 0.5805 MB / 0.8434 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.8484, allocations: 0 / 0.8434 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001124/0.8495, allocations: 0.7288 MB / 0.8441 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.8495, allocations: 5.875 kB / 0.8441 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.8495, allocations: 4 kB / 0.8441 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.8495, allocations: 0 / 0.8441 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.8501, allocations: 127.6 kB / 0.8443 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.8501, allocations: 8.062 kB / 0.8443 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.8508, allocations: 63.64 kB / 0.8443 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.8508, allocations: 20 kB / 0.8443 GB, free: 14.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.851, allocations: 224.8 kB / 0.8446 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.8511, allocations: 98.78 kB / 0.8446 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.8524, allocations: 0.7499 MB / 0.8454 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.8524, allocations: 7.938 kB / 0.8454 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8524, allocations: 4 kB / 0.8454 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.8535, allocations: 0.902 MB / 0.8463 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.8565, allocations: 2.25 MB / 0.8485 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.8565, allocations: 8.031 kB / 0.8485 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.8571, allocations: 131.6 kB / 0.8486 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.8571, allocations: 8 kB / 0.8486 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.8572, allocations: 20 kB / 0.8486 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.8572, allocations: 7.938 kB / 0.8486 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8572, allocations: 6.531 kB / 0.8486 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.8589, allocations: 1.226 MB / 0.8498 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.8592, allocations: 259.7 kB / 0.8501 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.8594, allocations: 20 kB / 0.8501 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.86, allocations: 43.89 kB / 0.8502 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.651e-05/0.8601, allocations: 46.81 kB / 0.8502 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.8601, allocations: 24 kB / 0.8502 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000677/0.8608, allocations: 0.5862 MB / 0.8508 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8608, allocations: 0 / 0.8508 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001155/0.862, allocations: 0.5338 MB / 0.8513 GB, free: 7.102 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002229/0.8642, allocations: 1.921 MB / 0.8532 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.866, allocations: 1.01 MB / 0.8542 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.866, allocations: 4 kB / 0.8542 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.8666, allocations: 340.3 kB / 0.8545 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.8689, allocations: 0.5899 MB / 0.8551 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.8783, allocations: 7.991 MB / 0.8629 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.8789, allocations: 1.131 MB / 0.864 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000915/0.8798, allocations: 296.1 kB / 0.8643 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/0.8803, allocations: 419.2 kB / 0.8647 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.8803, allocations: 2.531 kB / 0.8647 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.375/3.255, allocations: 29.11 MB / 0.8931 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/17.57, allocations: 10.88 kB / 0.8931 GB, free: 12.46 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)