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.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.001322/0.001322, allocations: 110.9 kB / 16.46 MB, free: 6.035 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.001272/0.001272, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003634/0.003634, allocations: 288.4 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.189/1.189, allocations: 180.9 MB / 0.5261 GB, free: 14.73 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 101.3 kB / 0.7248 GB, free: 40.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1494, allocations: 94.16 MB / 0.8167 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1949/0.3444, allocations: 161.8 MB / 0.9747 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3465, allocations: 0.9642 MB / 0.9757 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.3467, allocations: 11.94 kB / 0.9757 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.3473, allocations: 170.9 kB / 0.9759 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.3488, allocations: 0.6614 MB / 0.9765 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.3494, allocations: 218.1 kB / 0.9767 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.35, allocations: 0.5225 MB / 0.9772 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.3503, allocations: 152.2 kB / 0.9774 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004165/0.3508, allocations: 243 kB / 0.9776 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.351, allocations: 171.4 kB / 0.9778 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.351, allocations: 16 kB / 0.9778 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009082/0.3519, allocations: 0.5766 MB / 0.9783 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3521, allocations: 83.72 kB / 0.9784 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.3522, allocations: 119.4 kB / 0.9785 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007173/0.3529, allocations: 490.4 kB / 0.979 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3529, allocations: 0 / 0.979 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3529, allocations: 4 kB / 0.979 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3529, allocations: 0 / 0.979 GB, free: 14.7 MB / 0.7325 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.001508/0.3544, allocations: 0.6034 MB / 0.9796 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3545, allocations: 15.97 kB / 0.9796 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.865e-05/0.3545, allocations: 54.55 kB / 0.9797 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.3548, allocations: 47.81 kB / 0.9797 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.3553, allocations: 286.5 kB / 0.98 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3554, allocations: 12.33 kB / 0.98 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.3554, allocations: 20 kB / 0.98 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.3559, allocations: 239.1 kB / 0.9802 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3559, allocations: 0 / 0.9802 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.356, allocations: 8 kB / 0.9803 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.356, allocations: 8 kB / 0.9803 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.3566, allocations: 251.8 kB / 0.9805 GB, free: 13.07 MB / 0.7325 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.001419/0.358, allocations: 0.8355 MB / 0.9813 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.3584, allocations: 141.7 kB / 0.9815 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.3586, allocations: 108.9 kB / 0.9816 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.3589, allocations: 186.2 kB / 0.9817 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3589, allocations: 38.5 kB / 0.9818 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.3589, allocations: 0 / 0.9818 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0008607/0.3598, allocations: 309.2 kB / 0.9821 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3598, allocations: 55.41 kB / 0.9821 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.3601, allocations: 241 kB / 0.9823 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3601, allocations: 29.7 kB / 0.9824 GB, free: 11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3602, allocations: 136.3 kB / 0.9825 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.3602, allocations: 47.58 kB / 0.9826 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.3603, allocations: 45.66 kB / 0.9826 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3605, allocations: 326.8 kB / 0.9829 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.3606, allocations: 67.94 kB / 0.983 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.3609, allocations: 98.52 kB / 0.9831 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.3612, allocations: 170.4 kB / 0.9832 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3612, allocations: 4 kB / 0.9832 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004715/0.3617, allocations: 214.7 kB / 0.9834 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3617, allocations: 7.938 kB / 0.9834 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3617, allocations: 0 / 0.9834 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3617, allocations: 8.062 kB / 0.9835 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.3619, allocations: 27.98 kB / 0.9835 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.362, allocations: 7.938 kB / 0.9835 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3621, allocations: 23.88 kB / 0.9835 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.3621, allocations: 11.97 kB / 0.9835 GB, free: 9.781 MB / 0.7325 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.0001561/0.3623, allocations: 141.8 kB / 0.9837 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.3623, allocations: 19.84 kB / 0.9837 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.3624, allocations: 33.83 kB / 0.9837 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3624, allocations: 4 kB / 0.9837 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3624, allocations: 4 kB / 0.9837 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3624, allocations: 4 kB / 0.9837 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.3636, allocations: 0.6757 MB / 0.9844 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3636, allocations: 4 kB / 0.9844 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.3638, allocations: 27.92 kB / 0.9844 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.3638, allocations: 7.984 kB / 0.9844 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3638, allocations: 4 kB / 0.9844 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3638, allocations: 0 / 0.9844 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3638, allocations: 7.938 kB / 0.9844 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.3643, allocations: 369.3 kB / 0.9848 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.3645, allocations: 116.9 kB / 0.9849 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.3645, allocations: 8 kB / 0.9849 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.3647, allocations: 4 kB / 0.9849 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.3647, allocations: 27.84 kB / 0.9849 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3648, allocations: 7.984 kB / 0.9849 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001802/0.3649, allocations: 180.5 kB / 0.9851 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3649, allocations: 0 / 0.9851 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003567/0.3653, allocations: 55.94 kB / 0.9852 GB, free: 7.953 MB / 0.7325 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.00111/0.3664, allocations: 0.9308 MB / 0.9861 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.3669, allocations: 179.8 kB / 0.9862 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3669, allocations: 0 / 0.9862 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.3671, allocations: 91.81 kB / 0.9863 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.3679, allocations: 124.3 kB / 0.9864 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.3713, allocations: 2.463 MB / 0.9889 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.3717, allocations: 0.7635 MB / 0.9896 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00022/0.3719, allocations: 57.91 kB / 0.9897 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.372, allocations: 67.41 kB / 0.9897 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.372, allocations: 0 / 0.9897 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.404, allocations: 6.99 MB / 0.9965 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.429, allocations: 4.562 kB / 0.9966 GB, free: 12.29 MB / 0.7481 GB " [Timeout remaining time 652] (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: 12.730069438926876] Failed to read output from testmodel.py, exit status != 0: 8.501271051354706 8.842697988 8.166965534 Calling exit ...