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.0008343/0.0008342, allocations: 96.34 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008291/0.0008292, allocations: 175 kB / 16.57 MB, free: 6.398 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.232/1.232, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6134/0.6134, allocations: 113.6 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002615, allocations: 8 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.4221/0.5471, allocations: 196.5 MB / 0.7487 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.5575, allocations: 7.235 MB / 0.7557 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.5589, allocations: 43.69 kB / 0.7558 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.5607, allocations: 0.6766 MB / 0.7564 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004889/0.5656, allocations: 1.937 MB / 0.7583 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.5695, allocations: 1.613 MB / 0.7599 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002941/0.5725, allocations: 1.877 MB / 0.7617 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5735, allocations: 0.8239 MB / 0.7625 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/0.5763, allocations: 1.429 MB / 0.7639 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.5771, allocations: 0.603 MB / 0.7645 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.5773, allocations: 52 kB / 0.7646 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.5796, allocations: 1.065 MB / 0.7656 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.58, allocations: 354.9 kB / 0.7659 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.5803, allocations: 285.1 kB / 0.7662 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.5821, allocations: 1.614 MB / 0.7678 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5821, allocations: 0 / 0.7678 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5821, allocations: 0 / 0.7678 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.5821, allocations: 0 / 0.7678 GB, free: 1.824 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.002465/0.5846, allocations: 1.433 MB / 0.7692 GB, free: 348 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5847, allocations: 8.031 kB / 0.7692 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.5848, allocations: 131.7 kB / 0.7693 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.5874, allocations: 433.9 kB / 0.7697 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.5891, allocations: 0.9295 MB / 0.7706 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.5891, allocations: 62 kB / 0.7707 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5893, allocations: 80 kB / 0.7708 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.5908, allocations: 0.8701 MB / 0.7716 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.5908, allocations: 4 kB / 0.7716 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.5909, allocations: 31.94 kB / 0.7717 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.5909, allocations: 30 kB / 0.7717 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.5924, allocations: 0.8276 MB / 0.7725 GB, free: 12.89 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.004384/0.5968, allocations: 3.639 MB / 0.7761 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.5981, allocations: 1.123 MB / 0.7772 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.5984, allocations: 153.6 kB / 0.7773 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5985, allocations: 43.12 kB / 0.7773 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 1.953e-06/0.5985, allocations: 0 / 0.7773 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001846/0.6003, allocations: 0.9818 MB / 0.7783 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.6004, allocations: 59.97 kB / 0.7784 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/0.6013, allocations: 0.8282 MB / 0.7792 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.6013, allocations: 41.7 kB / 0.7792 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.6016, allocations: 488.1 kB / 0.7797 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.6018, allocations: 212.9 kB / 0.7799 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.6018, allocations: 12 kB / 0.7799 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.6019, allocations: 329.9 kB / 0.7802 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.6024, allocations: 257 kB / 0.7804 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.6029, allocations: 379.3 kB / 0.7808 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.6034, allocations: 298.1 kB / 0.7811 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6034, allocations: 4.094 kB / 0.7811 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001134/0.6045, allocations: 0.7437 MB / 0.7818 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.6047, allocations: 451.3 kB / 0.7823 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6047, allocations: 0 / 0.7823 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.6047, allocations: 4 kB / 0.7823 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.6053, allocations: 135.8 kB / 0.7824 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.6053, allocations: 8 kB / 0.7824 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008423/0.6061, allocations: 139.4 kB / 0.7825 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.6062, allocations: 20 kB / 0.7825 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.6062, allocations: 4 kB / 0.7825 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001018/0.6072, allocations: 0.6261 MB / 0.7832 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.6072, allocations: 0 / 0.7832 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.6072, allocations: 7.953 kB / 0.7832 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.6077, allocations: 131.9 kB / 0.7833 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6078, allocations: 4 kB / 0.7833 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.6085, allocations: 135.3 kB / 0.7834 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.6085, allocations: 24 kB / 0.7835 GB, free: 1.117 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003915/0.6089, allocations: 380.9 kB / 0.7838 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.6091, allocations: 98.78 kB / 0.7839 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.6103, allocations: 0.7627 MB / 0.7847 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.6103, allocations: 11.95 kB / 0.7847 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6103, allocations: 4 kB / 0.7847 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.6114, allocations: 0.9228 MB / 0.7856 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.6145, allocations: 2.259 MB / 0.7878 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6145, allocations: 0 / 0.7878 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/0.6152, allocations: 148.2 kB / 0.7879 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.6152, allocations: 4 kB / 0.7879 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.6152, allocations: 16 kB / 0.7879 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.6152, allocations: 8 kB / 0.7879 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6153, allocations: 4 kB / 0.7879 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.6172, allocations: 1.406 MB / 0.7893 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.6177, allocations: 267.7 kB / 0.7896 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.6178, allocations: 19.94 kB / 0.7896 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/0.6186, allocations: 115.2 kB / 0.7897 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6187, allocations: 40.39 kB / 0.7897 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.6188, allocations: 23.98 kB / 0.7898 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007217/0.6195, allocations: 0.5784 MB / 0.7903 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6195, allocations: 0 / 0.7903 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001158/0.6207, allocations: 0.526 MB / 0.7908 GB, free: 9.148 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002548/0.6232, allocations: 3.001 MB / 0.7938 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.6249, allocations: 0.9546 MB / 0.7947 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6249, allocations: 4 kB / 0.7947 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.6254, allocations: 354.5 kB / 0.795 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.6281, allocations: 0.6104 MB / 0.7956 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/0.637, allocations: 6.82 MB / 0.8023 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/0.6376, allocations: 1.143 MB / 0.8034 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009909/0.6386, allocations: 300.1 kB / 0.8037 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/0.6391, allocations: 415.3 kB / 0.8041 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of SimCode: time 1.593e-06/0.6391, allocations: 0 / 0.8041 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6008/1.24, allocations: 28.78 MB / 0.8322 GB, free: 229.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.24, allocations: 220.2 kB / 0.8324 GB, free: 229.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.79, allocations: 3.906 kB / 0.8324 GB, free: 229.5 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/linux/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) Environment - environmentSimulation: