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.0008923/0.0008922, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001095/0.001095, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4356/0.4356, allocations: 55.01 MB / 325.4 MB, free: 0.6367 MB / 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.000683/0.0006831, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4117, allocations: 60.72 MB / 457.4 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2079/0.6197, allocations: 146.5 MB / 0.5897 GB, free: 4.902 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.6216, allocations: 0.8696 MB / 0.5905 GB, free: 4.031 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.6218, allocations: 7.938 kB / 0.5905 GB, free: 4.023 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006432/0.6224, allocations: 159 kB / 0.5907 GB, free: 3.867 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001212/0.6237, allocations: 431.7 kB / 0.5911 GB, free: 3.445 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006998/0.6244, allocations: 249 kB / 0.5913 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.6254, allocations: 0.9987 MB / 0.5923 GB, free: 2.207 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.6258, allocations: 205.7 kB / 0.5925 GB, free: 2.016 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.6266, allocations: 378.5 kB / 0.5929 GB, free: 1.645 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.627, allocations: 275 kB / 0.5931 GB, free: 1.375 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.627, allocations: 12 kB / 0.5932 GB, free: 1.363 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.6274, allocations: 179.7 kB / 0.5933 GB, free: 1.188 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.6276, allocations: 139.6 kB / 0.5935 GB, free: 1.051 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.183e-05/0.6277, allocations: 105.5 kB / 0.5936 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.6282, allocations: 446.9 kB / 0.594 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6282, allocations: 0 / 0.594 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6283, allocations: 0 / 0.594 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.6283, allocations: 0 / 0.594 GB, free: 0.5039 MB / 462.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.001602/0.6299, allocations: 0.6489 MB / 0.5946 GB, free: 15.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.6299, allocations: 11.97 kB / 0.5946 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.6301, allocations: 49.39 kB / 0.5947 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.6306, allocations: 309.1 kB / 0.595 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.6306, allocations: 20.66 kB / 0.595 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.6306, allocations: 29.72 kB / 0.595 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.6314, allocations: 401.8 kB / 0.5954 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6314, allocations: 0 / 0.5954 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.6315, allocations: 12 kB / 0.5954 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.6315, allocations: 16.64 kB / 0.5954 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.6322, allocations: 378.3 kB / 0.5958 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.6343, allocations: 1.31 MB / 0.5971 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.6346, allocations: 134.6 kB / 0.5972 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.6348, allocations: 88.8 kB / 0.5973 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.6348, allocations: 7.969 kB / 0.5973 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.6349, allocations: 42.56 kB / 0.5973 GB, free: 12.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.6349, allocations: 0 / 0.5973 GB, free: 12.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005949/0.6355, allocations: 246.8 kB / 0.5976 GB, free: 12.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.6355, allocations: 59.34 kB / 0.5976 GB, free: 12.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.636, allocations: 401.5 kB / 0.598 GB, free: 12.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.636, allocations: 33.7 kB / 0.598 GB, free: 12.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.6361, allocations: 195.6 kB / 0.5982 GB, free: 11.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.6362, allocations: 43.48 kB / 0.5983 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.6362, allocations: 4 kB / 0.5983 GB, free: 11.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6363, allocations: 342.8 kB / 0.5986 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.6365, allocations: 87.94 kB / 0.5987 GB, free: 11.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.6368, allocations: 146.8 kB / 0.5988 GB, free: 11.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.637, allocations: 108.4 kB / 0.5989 GB, free: 11.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.637, allocations: 0 / 0.5989 GB, free: 11.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005214/0.6375, allocations: 309.2 kB / 0.5992 GB, free: 10.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6376, allocations: 4 kB / 0.5992 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6376, allocations: 4 kB / 0.5992 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6376, allocations: 0 / 0.5992 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.6379, allocations: 54.47 kB / 0.5993 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.6379, allocations: 0 / 0.5993 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.6381, allocations: 51.58 kB / 0.5993 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.6382, allocations: 15.95 kB / 0.5993 GB, free: 10.73 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.6383, allocations: 157.8 kB / 0.5995 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.6384, allocations: 35.62 kB / 0.5995 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.281e-05/0.6385, allocations: 30.84 kB / 0.5996 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.6385, allocations: 4 kB / 0.5996 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6385, allocations: 0 / 0.5996 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.6385, allocations: 4 kB / 0.5996 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/0.6393, allocations: 0.5936 MB / 0.6001 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6393, allocations: 0 / 0.6001 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.6395, allocations: 34.73 kB / 0.6002 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6395, allocations: 0 / 0.6002 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.6395, allocations: 11.98 kB / 0.6002 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6395, allocations: 0 / 0.6002 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/0.6395, allocations: 3.953 kB / 0.6002 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.6399, allocations: 300.7 kB / 0.6005 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.6401, allocations: 132.7 kB / 0.6006 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.6402, allocations: 8 kB / 0.6006 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.6404, allocations: 23.97 kB / 0.6006 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.6405, allocations: 7.938 kB / 0.6006 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.6405, allocations: 17.83 kB / 0.6007 GB, free: 9.262 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.6408, allocations: 283.2 kB / 0.6009 GB, free: 8.988 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6408, allocations: 0 / 0.6009 GB, free: 8.988 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.6412, allocations: 95.92 kB / 0.601 GB, free: 8.895 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003691/0.6416, allocations: 155.3 kB / 0.6012 GB, free: 8.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.6421, allocations: 192 kB / 0.6014 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6421, allocations: 9.531 kB / 0.6014 GB, free: 8.555 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.6423, allocations: 71.89 kB / 0.6014 GB, free: 8.484 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008993/0.6432, allocations: 177.1 kB / 0.6016 GB, free: 8.312 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.644, allocations: 0.6194 MB / 0.6022 GB, free: 7.668 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.6444, allocations: 0.7836 MB / 0.603 GB, free: 6.859 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.6447, allocations: 75.7 kB / 0.603 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.6448, allocations: 31.44 kB / 0.6031 GB, free: 6.758 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6448, allocations: 3.938 kB / 0.6031 GB, free: 6.754 MB / 478.1 MB Notification: Performance of Templates: time 0.01112/0.6559, allocations: 6.138 MB / 0.6091 GB, free: 0.7227 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: