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.001723/0.001723, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002117/0.002117, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.709/1.709, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4201/0.4201, allocations: 54.93 MB / 324.7 MB, free: 15.96 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.001832/0.001832, allocations: 67.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1535, allocations: 59.59 MB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4557/0.6093, allocations: 161.3 MB / 0.6018 GB, free: 6.086 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.6112, allocations: 0.9096 MB / 0.6027 GB, free: 5.176 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.6114, allocations: 11.94 kB / 0.6027 GB, free: 5.164 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009099/0.6124, allocations: 242.6 kB / 0.6029 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.6139, allocations: 0.521 MB / 0.6034 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.6148, allocations: 299.6 kB / 0.6037 GB, free: 4.113 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.6159, allocations: 0.8428 MB / 0.6045 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.6164, allocations: 260.8 kB / 0.6048 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.6175, allocations: 430.4 kB / 0.6052 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.6178, allocations: 266.9 kB / 0.6055 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.6179, allocations: 32 kB / 0.6055 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.6185, allocations: 327.3 kB / 0.6058 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.6187, allocations: 159.6 kB / 0.6059 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.6189, allocations: 200.4 kB / 0.6061 GB, free: 1.637 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.6197, allocations: 0.6466 MB / 0.6068 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6197, allocations: 0 / 0.6068 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6197, allocations: 0 / 0.6068 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.6198, allocations: 8 kB / 0.6068 GB, free: 0.9805 MB / 478.1 MB 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.001996/0.6218, allocations: 0.7143 MB / 0.6075 GB, free: 224 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6218, allocations: 12.03 kB / 0.6075 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.6221, allocations: 43.53 kB / 0.6075 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.6225, allocations: 327.1 kB / 0.6078 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.6225, allocations: 24.66 kB / 0.6079 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.6226, allocations: 24 kB / 0.6079 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.6233, allocations: 389.8 kB / 0.6083 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6233, allocations: 0.6562 kB / 0.6083 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.6234, allocations: 16 kB / 0.6083 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.6234, allocations: 12.66 kB / 0.6083 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.6241, allocations: 366.4 kB / 0.6086 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.6262, allocations: 1.315 MB / 0.6099 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.6266, allocations: 142.5 kB / 0.6101 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.6267, allocations: 79.52 kB / 0.6101 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.6268, allocations: 8 kB / 0.6101 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.6268, allocations: 34.5 kB / 0.6102 GB, free: 13.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.6268, allocations: 0 / 0.6102 GB, free: 13.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006489/0.6275, allocations: 229.1 kB / 0.6104 GB, free: 13.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.6275, allocations: 59.34 kB / 0.6104 GB, free: 12.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.628, allocations: 405.5 kB / 0.6108 GB, free: 12.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.628, allocations: 33.7 kB / 0.6109 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6282, allocations: 199.5 kB / 0.6111 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.6282, allocations: 35.55 kB / 0.6111 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.6283, allocations: 45.61 kB / 0.6111 GB, free: 12.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6285, allocations: 338.8 kB / 0.6115 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.6287, allocations: 87.92 kB / 0.6115 GB, free: 11.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.6289, allocations: 150 kB / 0.6117 GB, free: 11.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.6294, allocations: 210.7 kB / 0.6119 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6294, allocations: 0 / 0.6119 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005701/0.6299, allocations: 297 kB / 0.6122 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.63, allocations: 8 kB / 0.6122 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.63, allocations: 0.625 kB / 0.6122 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.63, allocations: 4.656 kB / 0.6122 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.6302, allocations: 51.84 kB / 0.6122 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.6303, allocations: 0 / 0.6122 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.6305, allocations: 39.58 kB / 0.6123 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.6306, allocations: 8.688 kB / 0.6123 GB, free: 11.03 MB / 494.1 MB 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.0001772/0.6308, allocations: 173.8 kB / 0.6124 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.6308, allocations: 27.72 kB / 0.6125 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.6309, allocations: 35.69 kB / 0.6125 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.6309, allocations: 3.938 kB / 0.6125 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6309, allocations: 0 / 0.6125 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6309, allocations: 0 / 0.6125 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/0.6318, allocations: 0.5867 MB / 0.6131 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6318, allocations: 4.625 kB / 0.6131 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.6319, allocations: 23.97 kB / 0.6131 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.632, allocations: 7.938 kB / 0.6131 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.632, allocations: 4 kB / 0.6131 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.632, allocations: 2.094 kB / 0.6131 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.632, allocations: 3.938 kB / 0.6131 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.6324, allocations: 293.7 kB / 0.6134 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.6326, allocations: 140.6 kB / 0.6135 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.6327, allocations: 7.984 kB / 0.6135 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.633, allocations: 15.98 kB / 0.6136 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.633, allocations: 7.984 kB / 0.6136 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.6331, allocations: 16 kB / 0.6136 GB, free: 9.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003025/0.6334, allocations: 287.1 kB / 0.6139 GB, free: 9.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6334, allocations: 0 / 0.6139 GB, free: 9.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.6338, allocations: 91.92 kB / 0.6139 GB, free: 9.203 MB / 494.1 MB 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.0003528/0.6342, allocations: 136.8 kB / 0.6141 GB, free: 9.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.6347, allocations: 193.3 kB / 0.6143 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6347, allocations: 0 / 0.6143 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.6349, allocations: 67.89 kB / 0.6143 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.6359, allocations: 181 kB / 0.6145 GB, free: 8.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009022/0.6368, allocations: 0.5408 MB / 0.615 GB, free: 8.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.6372, allocations: 0.791 MB / 0.6158 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003215/0.6375, allocations: 86.84 kB / 0.6159 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.6376, allocations: 27.44 kB / 0.6159 GB, free: 7.164 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6376, allocations: 0 / 0.6159 GB, free: 7.164 MB / 494.1 MB Notification: Performance of Templates: time 0.0131/0.6507, allocations: 6.686 MB / 0.6224 GB, free: 0.5938 MB / 494.1 MB 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)