Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 118.7 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8804/0.8804, allocations: 129.2 MB / 432.5 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 179] 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.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.89 kB / 0.5987 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4472, allocations: 83.43 MB / 0.6802 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1254/0.5727, allocations: 116.2 MB / 0.7936 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04449/0.6172, allocations: 26.62 MB / 0.8196 GB, free: 14.77 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004978/0.6221, allocations: 115.4 kB / 0.8197 GB, free: 14.66 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.6264, allocations: 1.188 MB / 0.8209 GB, free: 13.46 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.6377, allocations: 3.561 MB / 0.8244 GB, free: 9.891 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.007312/0.645, allocations: 2.377 MB / 0.8267 GB, free: 7.52 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.6555, allocations: 6.152 MB / 0.8327 GB, free: 1.352 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003009/0.6585, allocations: 1.597 MB / 0.8343 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007377/0.6659, allocations: 2.852 MB / 0.8371 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003585/0.6695, allocations: 1.801 MB / 0.8388 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006438/0.6701, allocations: 220 kB / 0.839 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005881/0.676, allocations: 2.39 MB / 0.8414 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008673/0.6769, allocations: 0.5524 MB / 0.8419 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002768/0.6796, allocations: 1.287 MB / 0.8432 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.6882, allocations: 4.122 MB / 0.8472 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6882, allocations: 4 kB / 0.8472 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6882, allocations: 0 / 0.8472 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.951e-05/0.6883, allocations: 3.938 kB / 0.8472 GB, free: 2.461 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007018/0.6953, allocations: 2.908 MB / 0.85 GB, free: 15.49 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.6954, allocations: 16.03 kB / 0.85 GB, free: 15.47 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000282/0.6957, allocations: 194.6 kB / 0.8502 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008432/0.6965, allocations: 270.4 kB / 0.8505 GB, free: 15.01 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005232/0.7017, allocations: 2.156 MB / 0.8526 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.291e-05/0.7018, allocations: 102.6 kB / 0.8527 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.7021, allocations: 140 kB / 0.8528 GB, free: 12.56 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.7048, allocations: 1.454 MB / 0.8542 GB, free: 11.03 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/0.7048, allocations: 7.984 kB / 0.8543 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.705, allocations: 56 kB / 0.8543 GB, free: 10.97 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.705, allocations: 43.92 kB / 0.8543 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.7071, allocations: 1.025 MB / 0.8553 GB, free: 9.895 MB / 0.67 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.01128/0.7183, allocations: 8.292 MB / 0.8634 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.7201, allocations: 0.7829 MB / 0.8642 GB, free: 60 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3819/1.102, allocations: 339.5 kB / 0.8645 GB, free: 170.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/1.104, allocations: 2.8 MB / 0.8673 GB, free: 167.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.104, allocations: 43.73 kB / 0.8673 GB, free: 167.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.936e-06/1.104, allocations: 3.938 kB / 0.8673 GB, free: 167.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.002862/1.107, allocations: 1.139 MB / 0.8684 GB, free: 167.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/1.107, allocations: 64.05 kB / 0.8685 GB, free: 167.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/1.11, allocations: 1.618 MB / 0.8701 GB, free: 166.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/1.11, allocations: 45.42 kB / 0.8701 GB, free: 166.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007406/1.11, allocations: 0.9479 MB / 0.871 GB, free: 166.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/1.111, allocations: 322.1 kB / 0.8713 GB, free: 165.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003957/1.111, allocations: 233.4 kB / 0.8716 GB, free: 165.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.111, allocations: 353.2 kB / 0.8719 GB, free: 165.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/1.112, allocations: 325.7 kB / 0.8722 GB, free: 165.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009727/1.113, allocations: 0.7101 MB / 0.8729 GB, free: 164.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/1.115, allocations: 1.083 MB / 0.874 GB, free: 164 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.115, allocations: 3.062 kB / 0.874 GB, free: 164 MB / 0.67 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002906/1.117, allocations: 1.258 MB / 0.8752 GB, free: 163.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/1.118, allocations: 13.47 kB / 0.8752 GB, free: 163.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-05/1.118, allocations: 21.41 kB / 0.8752 GB, free: 163.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.685e-05/1.118, allocations: 18 kB / 0.8752 GB, free: 163.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/1.119, allocations: 258.2 kB / 0.8755 GB, free: 163.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-05/1.119, allocations: 23.84 kB / 0.8755 GB, free: 163.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.12, allocations: 136 kB / 0.8756 GB, free: 163.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/1.12, allocations: 69.41 kB / 0.8757 GB, free: 163.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001483/1.121, allocations: 0.6194 MB / 0.8763 GB, free: 163.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009755/1.122, allocations: 0.7044 MB / 0.877 GB, free: 162.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001742/1.124, allocations: 1.081 MB / 0.8781 GB, free: 161.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.124e-05/1.124, allocations: 3.531 kB / 0.8781 GB, free: 161.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002646/1.127, allocations: 1.251 MB / 0.8793 GB, free: 161.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/1.127, allocations: 12.94 kB / 0.8793 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.859e-05/1.127, allocations: 15.38 kB / 0.8793 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.127, allocations: 22.7 kB / 0.8793 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/1.128, allocations: 259 kB / 0.8796 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/1.128, allocations: 24.78 kB / 0.8796 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.129, allocations: 104.1 kB / 0.8797 GB, free: 161.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.129, allocations: 64.53 kB / 0.8798 GB, free: 161.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003996/1.13, allocations: 258.5 kB / 0.88 GB, free: 160.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/1.13, allocations: 199.2 kB / 0.8802 GB, free: 160.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/1.133, allocations: 1.747 MB / 0.8819 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/1.133, allocations: 18.12 kB / 0.8819 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.133, allocations: 1.094 kB / 0.8819 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/1.135, allocations: 1.148 MB / 0.8831 GB, free: 159.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005349/1.14, allocations: 3.495 MB / 0.8865 GB, free: 157.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/1.14, allocations: 10.03 kB / 0.8865 GB, free: 157.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/1.141, allocations: 204.2 kB / 0.8867 GB, free: 157.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/1.141, allocations: 10.91 kB / 0.8867 GB, free: 157.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/1.141, allocations: 39.73 kB / 0.8867 GB, free: 157.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/1.141, allocations: 18.55 kB / 0.8867 GB, free: 157.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/1.141, allocations: 12.2 kB / 0.8867 GB, free: 157.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/1.144, allocations: 2.24 MB / 0.8889 GB, free: 156.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/1.145, allocations: 455.2 kB / 0.8894 GB, free: 155.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/1.146, allocations: 28.72 kB / 0.8894 GB, free: 155.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008783/1.147, allocations: 46.22 kB / 0.8894 GB, free: 155.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.147, allocations: 124.3 kB / 0.8896 GB, free: 155.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.147, allocations: 59 kB / 0.8896 GB, free: 155.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001641/1.149, allocations: 1.088 MB / 0.8907 GB, free: 155.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.149, allocations: 1.375 kB / 0.8907 GB, free: 155.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003456/1.152, allocations: 1.149 MB / 0.8918 GB, free: 154.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.004955/1.157, allocations: 3.484 MB / 0.8952 GB, free: 152.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00282/1.16, allocations: 1.734 MB / 0.8969 GB, free: 152 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.16, allocations: 0 / 0.8969 GB, free: 152 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.161, allocations: 0.7689 MB / 0.8976 GB, free: 151.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/1.165, allocations: 0.966 MB / 0.8986 GB, free: 151 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/1.181, allocations: 12.56 MB / 0.9109 GB, free: 140.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/1.182, allocations: 1.436 MB / 0.9123 GB, free: 139.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001847/1.184, allocations: 0.5501 MB / 0.9128 GB, free: 138.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008796/1.184, allocations: 0.8429 MB / 0.9136 GB, free: 137.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.432e-06/1.184, allocations: 0 / 0.9136 GB, free: 137.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/1.286, allocations: 59 MB / 0.9712 GB, free: 79.54 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.94, allocations: 19.81 kB / 0.9713 GB, free: 79.52 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.547445091884583] Failed to read output from testmodel.py, exit status != 0: 14.048322338145226 14.063919453 13.372341668 Calling exit ...