Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Annex60.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007878/0.007879, allocations: 100.6 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4177/0.4177, allocations: 54.94 MB / 324.9 MB, free: 15.88 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 68.38 kB / 456.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1542, allocations: 59.59 MB / 0.5037 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7802/0.9344, allocations: 161.3 MB / 0.6612 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002644/0.9372, allocations: 0.9118 MB / 0.6621 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.9375, allocations: 7.875 kB / 0.6621 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.9386, allocations: 249.6 kB / 0.6624 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.9403, allocations: 0.5386 MB / 0.6629 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.9414, allocations: 309.7 kB / 0.6632 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.9428, allocations: 0.835 MB / 0.664 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.9433, allocations: 261.9 kB / 0.6643 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.9445, allocations: 458.9 kB / 0.6647 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.9449, allocations: 259.4 kB / 0.6649 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.945, allocations: 39.31 kB / 0.665 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007622/0.9458, allocations: 325.8 kB / 0.6653 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.946, allocations: 157 kB / 0.6654 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.9463, allocations: 205.5 kB / 0.6656 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000922/0.9472, allocations: 0.6565 MB / 0.6663 GB, free: 48 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.9472, allocations: 0 / 0.6663 GB, free: 48 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9472, allocations: 1.094 kB / 0.6663 GB, free: 48 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.9473, allocations: 0 / 0.6663 GB, free: 48 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001983/0.9492, allocations: 0.7245 MB / 0.667 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.9493, allocations: 14.28 kB / 0.667 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.9495, allocations: 43.09 kB / 0.667 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.95, allocations: 344.3 kB / 0.6674 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.9501, allocations: 17.91 kB / 0.6674 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.9501, allocations: 32.59 kB / 0.6674 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007526/0.9509, allocations: 381 kB / 0.6678 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.9509, allocations: 0 / 0.6678 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.951, allocations: 14.94 kB / 0.6678 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.951, allocations: 11.34 kB / 0.6678 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007419/0.9518, allocations: 372.4 kB / 0.6682 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.954, allocations: 1.304 MB / 0.6694 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.9543, allocations: 137 kB / 0.6696 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.9545, allocations: 80.98 kB / 0.6696 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.9546, allocations: 0 / 0.6696 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.9546, allocations: 41.61 kB / 0.6697 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.083e-06/0.9546, allocations: 0 / 0.6697 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.000621/0.9552, allocations: 229.8 kB / 0.6699 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.9553, allocations: 57.47 kB / 0.67 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.9557, allocations: 401.7 kB / 0.6703 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.9558, allocations: 29.08 kB / 0.6704 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.956, allocations: 206.2 kB / 0.6706 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.956, allocations: 31.25 kB / 0.6706 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.9561, allocations: 54.03 kB / 0.6706 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.9562, allocations: 338.4 kB / 0.671 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.9564, allocations: 84.69 kB / 0.671 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.9567, allocations: 148.7 kB / 0.6712 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.9571, allocations: 214.6 kB / 0.6714 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9571, allocations: 1.125 kB / 0.6714 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005371/0.9576, allocations: 294.3 kB / 0.6717 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9577, allocations: 5.5 kB / 0.6717 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.9577, allocations: 3 kB / 0.6717 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.9577, allocations: 2.031 kB / 0.6717 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.9579, allocations: 48.22 kB / 0.6717 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.9579, allocations: 5.781 kB / 0.6717 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.9582, allocations: 47.67 kB / 0.6718 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.9582, allocations: 17.38 kB / 0.6718 GB, free: 13.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * 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.0002384/0.9585, allocations: 162.4 kB / 0.672 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.9586, allocations: 34.22 kB / 0.672 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/0.9586, allocations: 34.48 kB / 0.672 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9587, allocations: 2.438 kB / 0.672 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.9587, allocations: 4.812 kB / 0.672 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9587, allocations: 2.406 kB / 0.672 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008373/0.9595, allocations: 0.5796 MB / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9595, allocations: 0 / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.9597, allocations: 29.25 kB / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9597, allocations: 0 / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.9597, allocations: 5.75 kB / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.9597, allocations: 5.812 kB / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.9597, allocations: 0 / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.9602, allocations: 291.8 kB / 0.6729 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.9603, allocations: 140.1 kB / 0.673 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.9604, allocations: 2.188 kB / 0.673 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.9607, allocations: 17.77 kB / 0.6731 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.9607, allocations: 9.219 kB / 0.6731 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.9608, allocations: 14.34 kB / 0.6731 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002837/0.9611, allocations: 288.1 kB / 0.6734 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9611, allocations: 0 / 0.6734 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004143/0.9615, allocations: 95.97 kB / 0.6735 GB, free: 12.77 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.0003688/0.9619, allocations: 149.8 kB / 0.6736 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.9624, allocations: 185.8 kB / 0.6738 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9624, allocations: 2.344 kB / 0.6738 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.9625, allocations: 66.08 kB / 0.6738 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.9635, allocations: 187.6 kB / 0.674 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.9646, allocations: 0.522 MB / 0.6745 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.965, allocations: 0.7791 MB / 0.6753 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002807/0.9653, allocations: 75.94 kB / 0.6754 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.9654, allocations: 35.17 kB / 0.6754 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.9654, allocations: 0 / 0.6754 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.01341/0.9788, allocations: 6.728 MB / 0.682 GB, free: 11.23 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)