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.001273/0.001273, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001404/0.001404, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.003771/0.003771, allocations: 293.2 kB / 313.5 MB, free: 2.613 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.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 14.62 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",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.002778/0.002778, allocations: 100.8 kB / 0.7402 GB, free: 28.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1804, allocations: 95.4 MB / 0.8334 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1747/0.3551, allocations: 142.1 MB / 0.9721 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3571, allocations: 0.9339 MB / 0.973 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.3573, allocations: 11.88 kB / 0.973 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.3578, allocations: 151 kB / 0.9732 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.3594, allocations: 0.6497 MB / 0.9738 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.36, allocations: 242.3 kB / 0.9741 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007042/0.3607, allocations: 0.5266 MB / 0.9746 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.361, allocations: 144.3 kB / 0.9747 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.3614, allocations: 239.1 kB / 0.9749 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.3617, allocations: 167.3 kB / 0.9751 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.3617, allocations: 16 kB / 0.9751 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008138/0.3625, allocations: 474.7 kB / 0.9756 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3626, allocations: 83.72 kB / 0.9756 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3628, allocations: 95.59 kB / 0.9757 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.3635, allocations: 478.3 kB / 0.9762 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3635, allocations: 0 / 0.9762 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3635, allocations: 0 / 0.9762 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3635, allocations: 0 / 0.9762 GB, free: 5.594 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.001412/0.3649, allocations: 0.5243 MB / 0.9767 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.365, allocations: 9.938 kB / 0.9767 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.064e-05/0.365, allocations: 4.328 kB / 0.9767 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.128e-05/0.365, allocations: 66.42 kB / 0.9768 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.3653, allocations: 43.83 kB / 0.9768 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.3657, allocations: 232.7 kB / 0.977 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3657, allocations: 12.33 kB / 0.9771 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.3658, allocations: 16 kB / 0.9771 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.3663, allocations: 239.8 kB / 0.9773 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3663, allocations: 3.938 kB / 0.9773 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.3664, allocations: 8 kB / 0.9773 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.3664, allocations: 15.98 kB / 0.9773 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006108/0.367, allocations: 243.8 kB / 0.9776 GB, free: 4.125 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.001292/0.3683, allocations: 0.6969 MB / 0.9782 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.3686, allocations: 138.5 kB / 0.9784 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.3688, allocations: 107.5 kB / 0.9785 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.3691, allocations: 31.97 kB / 0.9785 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.3691, allocations: 42.5 kB / 0.9785 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.963e-06/0.3691, allocations: 0 / 0.9785 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0008852/0.37, allocations: 301.3 kB / 0.9788 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.37, allocations: 55.41 kB / 0.9789 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3703, allocations: 237.1 kB / 0.9791 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3703, allocations: 33.7 kB / 0.9791 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3704, allocations: 136.3 kB / 0.9793 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.3705, allocations: 51.59 kB / 0.9793 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.3706, allocations: 37.64 kB / 0.9794 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3707, allocations: 334.8 kB / 0.9797 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.3709, allocations: 63.95 kB / 0.9797 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.3712, allocations: 179.6 kB / 0.9799 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.3715, allocations: 170.4 kB / 0.9801 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3715, allocations: 3.938 kB / 0.9801 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000489/0.372, allocations: 222.4 kB / 0.9803 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3721, allocations: 8 kB / 0.9803 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3721, allocations: 0 / 0.9803 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3721, allocations: 0 / 0.9803 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.3723, allocations: 31.97 kB / 0.9803 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3723, allocations: 4.062 kB / 0.9803 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3725, allocations: 23.88 kB / 0.9804 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.3725, allocations: 11.94 kB / 0.9804 GB, free: 1.09 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.0001427/0.3726, allocations: 137.8 kB / 0.9805 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.3727, allocations: 27.8 kB / 0.9805 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.561e-05/0.3728, allocations: 37.8 kB / 0.9806 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3728, allocations: 0 / 0.9806 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3728, allocations: 0 / 0.9806 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3728, allocations: 0 / 0.9806 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.3739, allocations: 0.6358 MB / 0.9812 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3739, allocations: 4 kB / 0.9812 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.3741, allocations: 39.84 kB / 0.9812 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3741, allocations: 0 / 0.9812 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.3741, allocations: 4.219 kB / 0.9812 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3741, allocations: 8 kB / 0.9812 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3741, allocations: 0 / 0.9812 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3418/0.7159, allocations: 359.3 kB / 0.9816 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.716, allocations: 43.36 kB / 0.9816 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.716, allocations: 3.266 kB / 0.9816 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.7162, allocations: 11.98 kB / 0.9816 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.7163, allocations: 18.83 kB / 0.9817 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.7163, allocations: 5.438 kB / 0.9817 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001841/0.7165, allocations: 182 kB / 0.9818 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7165, allocations: 0 / 0.9818 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004254/0.7169, allocations: 62.33 kB / 0.9819 GB, free: 151.5 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.0008028/0.7177, allocations: 0.9172 MB / 0.9828 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.7182, allocations: 175.1 kB / 0.983 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7182, allocations: 0 / 0.983 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.7185, allocations: 91.73 kB / 0.983 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000761/0.7192, allocations: 124.1 kB / 0.9832 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.7223, allocations: 2.463 MB / 0.9856 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.7225, allocations: 149.3 kB / 0.9857 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000243/0.7227, allocations: 64.48 kB / 0.9858 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.7229, allocations: 65.25 kB / 0.9858 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of SimCode: time 7.72e-07/0.7229, allocations: 3.875 kB / 0.9858 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.7526, allocations: 7.532 MB / 0.9932 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.14, allocations: 4.656 kB / 0.9932 GB, free: 148.1 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.384240164072253] Failed to read output from testmodel.py, exit status != 0: 12.305775439017452 12.322068256 11.956176496 Calling exit ...