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.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00172/0.00172, allocations: 191.6 kB / 16.13 MB, free: 6.707 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.638/1.638, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4264/0.4264, allocations: 54.93 MB / 324.3 MB, free: 248 kB / 254.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.001735/0.001735, allocations: 68.28 kB / 394.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1541, allocations: 59.59 MB / 454.3 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.LosslessPipe): time 0.448/0.6022, allocations: 159.1 MB / 0.599 GB, free: 8.977 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.6045, allocations: 0.9123 MB / 0.5998 GB, free: 8.062 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.6047, allocations: 11.94 kB / 0.5999 GB, free: 8.051 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000844/0.6057, allocations: 207 kB / 0.6001 GB, free: 7.848 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.6069, allocations: 0.4979 MB / 0.6005 GB, free: 7.348 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.6077, allocations: 275.1 kB / 0.6008 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.6089, allocations: 1.21 MB / 0.602 GB, free: 5.871 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.6094, allocations: 217.1 kB / 0.6022 GB, free: 5.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00093/0.6103, allocations: 378.5 kB / 0.6026 GB, free: 5.297 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.6107, allocations: 282.9 kB / 0.6028 GB, free: 5.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.6108, allocations: 16 kB / 0.6028 GB, free: 5.004 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006927/0.6115, allocations: 359.1 kB / 0.6032 GB, free: 4.652 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.6117, allocations: 139.6 kB / 0.6033 GB, free: 4.516 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.612, allocations: 187.2 kB / 0.6035 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007395/0.6127, allocations: 0.6426 MB / 0.6041 GB, free: 3.688 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6127, allocations: 0 / 0.6041 GB, free: 3.688 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.6128, allocations: 0 / 0.6041 GB, free: 3.688 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.6128, allocations: 4 kB / 0.6041 GB, free: 3.684 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.001887/0.6147, allocations: 0.7266 MB / 0.6048 GB, free: 2.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6147, allocations: 12.03 kB / 0.6048 GB, free: 2.898 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.6149, allocations: 47.52 kB / 0.6049 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.6154, allocations: 319.2 kB / 0.6052 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.6154, allocations: 20.66 kB / 0.6052 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.6155, allocations: 28 kB / 0.6052 GB, free: 2.453 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.6163, allocations: 386.5 kB / 0.6056 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6163, allocations: 4 kB / 0.6056 GB, free: 2.066 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.6164, allocations: 16 kB / 0.6056 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.6164, allocations: 16.64 kB / 0.6056 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.6171, allocations: 362.4 kB / 0.606 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.6193, allocations: 1.307 MB / 0.6073 GB, free: 272 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.6196, allocations: 133.9 kB / 0.6074 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.6198, allocations: 80.8 kB / 0.6075 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.6198, allocations: 8 kB / 0.6075 GB, free: 40 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.6198, allocations: 30.56 kB / 0.6075 GB, free: 0 / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.6198, allocations: 0 / 0.6075 GB, free: 0 / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006644/0.6205, allocations: 233.1 kB / 0.6077 GB, free: 15.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.6206, allocations: 67.28 kB / 0.6078 GB, free: 15.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.6209, allocations: 401.6 kB / 0.6082 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.621, allocations: 29.64 kB / 0.6082 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.6211, allocations: 203.5 kB / 0.6084 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.6211, allocations: 35.53 kB / 0.6084 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.6212, allocations: 49.61 kB / 0.6085 GB, free: 14.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6214, allocations: 338.8 kB / 0.6088 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.6216, allocations: 91.92 kB / 0.6089 GB, free: 14.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.6218, allocations: 145 kB / 0.609 GB, free: 14.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.6222, allocations: 210.7 kB / 0.6092 GB, free: 14.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6222, allocations: 0 / 0.6092 GB, free: 14.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005304/0.6227, allocations: 300.9 kB / 0.6095 GB, free: 13.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6228, allocations: 8 kB / 0.6095 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6228, allocations: 0 / 0.6095 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.6228, allocations: 4.562 kB / 0.6095 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.623, allocations: 47.91 kB / 0.6096 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.623, allocations: 7.938 kB / 0.6096 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.6233, allocations: 47.8 kB / 0.6096 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.6234, allocations: 4.875 kB / 0.6096 GB, free: 13.72 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.0001668/0.6235, allocations: 171.8 kB / 0.6098 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.6236, allocations: 27.72 kB / 0.6098 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.285e-05/0.6237, allocations: 34.84 kB / 0.6099 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.6237, allocations: 3.938 kB / 0.6099 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6237, allocations: 4 kB / 0.6099 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6237, allocations: 0 / 0.6099 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.6245, allocations: 0.5826 MB / 0.6104 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6245, allocations: 7.938 kB / 0.6104 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.6246, allocations: 20.48 kB / 0.6105 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.6246, allocations: 64 / 0.6105 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.6247, allocations: 7.984 kB / 0.6105 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6247, allocations: 5.312 kB / 0.6105 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6247, allocations: 0 / 0.6105 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.6251, allocations: 284.8 kB / 0.6107 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.6252, allocations: 148.6 kB / 0.6109 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.6253, allocations: 3.938 kB / 0.6109 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.6256, allocations: 21.28 kB / 0.6109 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.6256, allocations: 7.938 kB / 0.6109 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.6257, allocations: 11.98 kB / 0.6109 GB, free: 12.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.626, allocations: 287.1 kB / 0.6112 GB, free: 12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.626, allocations: 0 / 0.6112 GB, free: 12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.6264, allocations: 91.94 kB / 0.6113 GB, free: 11.91 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.0003263/0.6267, allocations: 151.7 kB / 0.6114 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.6272, allocations: 181.5 kB / 0.6116 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6272, allocations: 4.062 kB / 0.6116 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.6273, allocations: 71.88 kB / 0.6117 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009276/0.6283, allocations: 178.2 kB / 0.6119 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009269/0.6292, allocations: 0.6286 MB / 0.6125 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.6296, allocations: 0.7836 MB / 0.6132 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.6299, allocations: 73.67 kB / 0.6133 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.63, allocations: 27.42 kB / 0.6133 GB, free: 9.789 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.63, allocations: 4 kB / 0.6133 GB, free: 9.785 MB / 494.1 MB Notification: Performance of Templates: time 0.0107/0.6407, allocations: 6.387 MB / 0.6196 GB, free: 3.516 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)