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.001255/0.001255, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001442/0.001442, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.738/1.738, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4861/0.4861, allocations: 54.94 MB / 324.4 MB, free: 136 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.001392/0.001392, allocations: 67.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1502, allocations: 59.59 MB / 454.5 MB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4611/0.6114, allocations: 159.1 MB / 0.5992 GB, free: 8.633 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.6136, allocations: 0.9007 MB / 0.6001 GB, free: 7.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004494/0.6141, allocations: 3.938 kB / 0.6001 GB, free: 7.727 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.6152, allocations: 215 kB / 0.6003 GB, free: 7.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.6173, allocations: 0.4946 MB / 0.6008 GB, free: 7.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.6184, allocations: 285 kB / 0.6011 GB, free: 6.746 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.6196, allocations: 0.8428 MB / 0.6019 GB, free: 5.902 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006399/0.6203, allocations: 253.3 kB / 0.6021 GB, free: 5.664 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.6216, allocations: 446.4 kB / 0.6025 GB, free: 5.227 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/0.6221, allocations: 283 kB / 0.6028 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/0.6222, allocations: 32 kB / 0.6028 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000746/0.6229, allocations: 331.9 kB / 0.6032 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.6232, allocations: 159.6 kB / 0.6033 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.6235, allocations: 203.2 kB / 0.6035 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.6245, allocations: 0.6661 MB / 0.6042 GB, free: 3.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.6246, allocations: 3.984 kB / 0.6042 GB, free: 3.566 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6246, allocations: 0 / 0.6042 GB, free: 3.566 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.6246, allocations: 7.938 kB / 0.6042 GB, free: 3.559 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.001935/0.6265, allocations: 0.7244 MB / 0.6049 GB, free: 2.789 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.6266, allocations: 8.031 kB / 0.6049 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.6268, allocations: 43.53 kB / 0.6049 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.6273, allocations: 327.1 kB / 0.6052 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.6273, allocations: 20.66 kB / 0.6053 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.6274, allocations: 28.56 kB / 0.6053 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.6282, allocations: 381.9 kB / 0.6057 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6282, allocations: 4 kB / 0.6057 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.6283, allocations: 8 kB / 0.6057 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.6283, allocations: 20.66 kB / 0.6057 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.629, allocations: 370.3 kB / 0.606 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.6311, allocations: 1.307 MB / 0.6073 GB, free: 148 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.6315, allocations: 135.3 kB / 0.6074 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.6317, allocations: 76.81 kB / 0.6075 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.6317, allocations: 3.984 kB / 0.6075 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6317, allocations: 42.56 kB / 0.6076 GB, free: 15.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.6317, allocations: 0 / 0.6076 GB, free: 15.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006091/0.6324, allocations: 230.5 kB / 0.6078 GB, free: 15.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.6324, allocations: 55.34 kB / 0.6078 GB, free: 15.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.6328, allocations: 401.6 kB / 0.6082 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.6328, allocations: 29.7 kB / 0.6082 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.633, allocations: 207.5 kB / 0.6084 GB, free: 14.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.633, allocations: 39.53 kB / 0.6085 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/0.6331, allocations: 49.61 kB / 0.6085 GB, free: 14.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6332, allocations: 338.8 kB / 0.6088 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.6334, allocations: 84.81 kB / 0.6089 GB, free: 14.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.6337, allocations: 149.4 kB / 0.6091 GB, free: 14.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.634, allocations: 218.6 kB / 0.6093 GB, free: 14.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6341, allocations: 0.6562 kB / 0.6093 GB, free: 14.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005415/0.6346, allocations: 285 kB / 0.6096 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6346, allocations: 8.219 kB / 0.6096 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.6346, allocations: 4 kB / 0.6096 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6347, allocations: 4 kB / 0.6096 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.6349, allocations: 52.41 kB / 0.6096 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6349, allocations: 4 kB / 0.6096 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.6352, allocations: 40.42 kB / 0.6097 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.6352, allocations: 12 kB / 0.6097 GB, free: 13.61 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.000163/0.6354, allocations: 165.7 kB / 0.6098 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.6355, allocations: 31.72 kB / 0.6099 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.6356, allocations: 34.84 kB / 0.6099 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.6356, allocations: 9.062 kB / 0.6099 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6356, allocations: 0 / 0.6099 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6356, allocations: 3.984 kB / 0.6099 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/0.6364, allocations: 0.5857 MB / 0.6105 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6364, allocations: 9.188 kB / 0.6105 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.6365, allocations: 23.97 kB / 0.6105 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6366, allocations: 0 / 0.6105 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6366, allocations: 4 kB / 0.6105 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6366, allocations: 0.5625 kB / 0.6105 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6366, allocations: 0.5469 kB / 0.6105 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.637, allocations: 296.8 kB / 0.6108 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.6372, allocations: 140.6 kB / 0.6109 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.6372, allocations: 1.594 kB / 0.6109 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.6376, allocations: 23.97 kB / 0.611 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.6376, allocations: 11.98 kB / 0.611 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.6377, allocations: 11.98 kB / 0.611 GB, free: 12.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002734/0.6379, allocations: 287.1 kB / 0.6113 GB, free: 11.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6379, allocations: 0 / 0.6113 GB, free: 11.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004082/0.6384, allocations: 91.94 kB / 0.6113 GB, free: 11.79 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.0003628/0.6387, allocations: 143.5 kB / 0.6115 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004462/0.6392, allocations: 190.6 kB / 0.6117 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6392, allocations: 0 / 0.6117 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.6394, allocations: 67.89 kB / 0.6117 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009827/0.6404, allocations: 194.6 kB / 0.6119 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.6414, allocations: 0.6216 MB / 0.6125 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.6417, allocations: 0.7871 MB / 0.6133 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.6421, allocations: 84.73 kB / 0.6134 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.6421, allocations: 23.44 kB / 0.6134 GB, free: 9.66 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6421, allocations: 0 / 0.6134 GB, free: 9.66 MB / 494.1 MB Notification: Performance of Templates: time 0.01178/0.6539, allocations: 6.589 MB / 0.6198 GB, free: 3.188 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)