Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 209.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002646/0.002646, allocations: 297.6 kB / 312.7 MB, free: 2.574 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.242/1.242, allocations: 180.6 MB / 0.5369 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00294/0.00294, allocations: 114 kB / 0.7395 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1816, allocations: 95.38 MB / 0.8326 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1805/0.3621, allocations: 142.1 MB / 0.9715 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3641, allocations: 0.9314 MB / 0.9724 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.3643, allocations: 15.88 kB / 0.9724 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005355/0.3649, allocations: 151 kB / 0.9725 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.3665, allocations: 0.6497 MB / 0.9732 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.3671, allocations: 228.3 kB / 0.9734 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000723/0.3679, allocations: 0.5304 MB / 0.9739 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.3682, allocations: 136.3 kB / 0.974 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.3687, allocations: 247 kB / 0.9743 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.3689, allocations: 163.3 kB / 0.9744 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.369, allocations: 16 kB / 0.9744 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009532/0.3699, allocations: 466.6 kB / 0.9749 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3701, allocations: 87.7 kB / 0.975 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3702, allocations: 91.61 kB / 0.9751 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007477/0.3709, allocations: 474.3 kB / 0.9755 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3709, allocations: 4 kB / 0.9755 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3709, allocations: 0 / 0.9755 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.371, allocations: 4 kB / 0.9755 GB, free: 5.477 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001414/0.3724, allocations: 0.5243 MB / 0.976 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3724, allocations: 13.34 kB / 0.976 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.887e-05/0.3725, allocations: 50.55 kB / 0.9761 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.3728, allocations: 43.83 kB / 0.9761 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.3733, allocations: 236.6 kB / 0.9764 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3733, allocations: 8.328 kB / 0.9764 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.3734, allocations: 16 kB / 0.9764 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.3739, allocations: 247.7 kB / 0.9766 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3739, allocations: 4 kB / 0.9766 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.3739, allocations: 4 kB / 0.9766 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.374, allocations: 12 kB / 0.9766 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005957/0.3746, allocations: 251.8 kB / 0.9769 GB, free: 4.016 MB / 0.7169 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.001323/0.3759, allocations: 0.693 MB / 0.9775 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.3762, allocations: 142.4 kB / 0.9777 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.3765, allocations: 108.9 kB / 0.9778 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.3767, allocations: 27.98 kB / 0.9778 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3767, allocations: 38.5 kB / 0.9779 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3767, allocations: 0 / 0.9779 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0008501/0.3775, allocations: 301.4 kB / 0.9781 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3776, allocations: 55.41 kB / 0.9782 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.3778, allocations: 245.1 kB / 0.9784 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.952e-05/0.3779, allocations: 29.7 kB / 0.9785 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.378, allocations: 128.3 kB / 0.9786 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.3781, allocations: 59.47 kB / 0.9786 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.3782, allocations: 33.7 kB / 0.9787 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3783, allocations: 334.8 kB / 0.979 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3785, allocations: 67.94 kB / 0.979 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.3788, allocations: 182 kB / 0.9792 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.3792, allocations: 171.7 kB / 0.9794 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3792, allocations: 0 / 0.9794 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004601/0.3796, allocations: 216.5 kB / 0.9796 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3796, allocations: 11.94 kB / 0.9796 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3797, allocations: 8.047 kB / 0.9796 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3797, allocations: 7.922 kB / 0.9796 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.3799, allocations: 27.98 kB / 0.9796 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3799, allocations: 0 / 0.9796 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.38, allocations: 23.88 kB / 0.9797 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3801, allocations: 8 kB / 0.9797 GB, free: 0.9844 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.000153/0.3802, allocations: 149.7 kB / 0.9798 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.3803, allocations: 23.84 kB / 0.9798 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/0.3803, allocations: 33.77 kB / 0.9799 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3804, allocations: 7.984 kB / 0.9799 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3804, allocations: 0 / 0.9799 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3804, allocations: 0 / 0.9799 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3815, allocations: 0.628 MB / 0.9805 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3815, allocations: 8.219 kB / 0.9805 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.3816, allocations: 31.92 kB / 0.9805 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3816, allocations: 0 / 0.9805 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.3816, allocations: 7.984 kB / 0.9805 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3817, allocations: 4 kB / 0.9805 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3817, allocations: 0 / 0.9805 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3958/0.7774, allocations: 364 kB / 0.9809 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.7776, allocations: 32.22 kB / 0.9809 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.7776, allocations: 9.891 kB / 0.9809 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.7778, allocations: 12.95 kB / 0.9809 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.7779, allocations: 14.97 kB / 0.981 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.7779, allocations: 5.828 kB / 0.981 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001965/0.7781, allocations: 179.2 kB / 0.9811 GB, free: 152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7781, allocations: 0 / 0.9811 GB, free: 152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004159/0.7785, allocations: 63.72 kB / 0.9812 GB, free: 152 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.0008379/0.7793, allocations: 0.9156 MB / 0.9821 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.7798, allocations: 174.4 kB / 0.9823 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7798, allocations: 0.625 kB / 0.9823 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.7801, allocations: 92.94 kB / 0.9823 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007756/0.7808, allocations: 124 kB / 0.9825 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.7839, allocations: 2.465 MB / 0.9849 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.784, allocations: 147.6 kB / 0.985 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.7843, allocations: 64.09 kB / 0.9851 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.7844, allocations: 63.94 kB / 0.9851 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.7844, allocations: 0 / 0.9851 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/0.8233, allocations: 7.866 MB / 0.9928 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.84, allocations: 8.75 kB / 0.9928 GB, free: 147.9 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.041090834885836] Failed to read output from testmodel.py, exit status != 0: 11.950808113906533 11.965239395 11.591904523 Calling exit ...