Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck") translateModel(Annex60.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.00121/0.00121, allocations: 177.3 kB / 15.94 MB, free: 228 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.438/1.438, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.408/0.408, allocations: 54.98 MB / 325.4 MB, free: 0.6992 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.0005238/0.0005241, allocations: 12.22 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3516, allocations: 60.71 MB / 457.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirDerivativeCheck): time 0.001286/0.3529, allocations: 1.009 MB / 458.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1468/0.4997, allocations: 125.2 MB / 0.5698 GB, free: 9.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.4998, allocations: 0 / 0.5698 GB, free: 9.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.4999, allocations: 3.938 kB / 0.5698 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.5, allocations: 15.97 kB / 0.5698 GB, free: 9.109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.5008, allocations: 233.8 kB / 0.57 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.5009, allocations: 47.86 kB / 0.5701 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.5009, allocations: 4 kB / 0.5701 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.501, allocations: 25.39 kB / 0.5701 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.501, allocations: 35.89 kB / 0.5701 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.5011, allocations: 3.938 kB / 0.5701 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007694/0.5018, allocations: 283.5 kB / 0.5704 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.5019, allocations: 19.92 kB / 0.5704 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.502, allocations: 29.7 kB / 0.5705 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.5022, allocations: 103.2 kB / 0.5706 GB, free: 8.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5022, allocations: 0 / 0.5706 GB, free: 8.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5022, allocations: 0 / 0.5706 GB, free: 8.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.5022, allocations: 0 / 0.5706 GB, free: 8.344 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004326/0.5026, allocations: 372.3 kB / 0.5709 GB, free: 7.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.5027, allocations: 11.97 kB / 0.5709 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.5031, allocations: 41.3 kB / 0.571 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5032, allocations: 169.8 kB / 0.5711 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5032, allocations: 4 kB / 0.5711 GB, free: 7.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.5033, allocations: 10.34 kB / 0.5711 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.5034, allocations: 77.64 kB / 0.5712 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.5035, allocations: 4 kB / 0.5712 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.5035, allocations: 0 / 0.5712 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.5035, allocations: 1.719 kB / 0.5712 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.5036, allocations: 47.95 kB / 0.5713 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.5038, allocations: 192.5 kB / 0.5715 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.504, allocations: 90.62 kB / 0.5715 GB, free: 7.211 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.5041, allocations: 8 kB / 0.5715 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.5041, allocations: 38.89 kB / 0.5716 GB, free: 7.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.5041, allocations: 0 / 0.5716 GB, free: 7.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.00137/0.5055, allocations: 0.551 MB / 0.5721 GB, free: 6.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.5055, allocations: 55.41 kB / 0.5722 GB, free: 6.492 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.5056, allocations: 97.8 kB / 0.5723 GB, free: 6.387 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.5056, allocations: 33.7 kB / 0.5723 GB, free: 6.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.5057, allocations: 80.52 kB / 0.5724 GB, free: 6.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.5058, allocations: 71 kB / 0.5724 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.5058, allocations: 0 / 0.5724 GB, free: 6.195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5059, allocations: 322.8 kB / 0.5728 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.506, allocations: 36.11 kB / 0.5728 GB, free: 5.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.427e-05/0.5061, allocations: 67.41 kB / 0.5729 GB, free: 5.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.142e-05/0.5062, allocations: 45.78 kB / 0.5729 GB, free: 5.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5062, allocations: 0 / 0.5729 GB, free: 5.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002302/0.5064, allocations: 156.2 kB / 0.573 GB, free: 5.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5064, allocations: 4 kB / 0.573 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5064, allocations: 5.203 kB / 0.5731 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5065, allocations: 9.703 kB / 0.5731 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.5066, allocations: 47.97 kB / 0.5731 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5067, allocations: 3.938 kB / 0.5731 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.5067, allocations: 8 kB / 0.5731 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.5067, allocations: 4 kB / 0.5731 GB, free: 5.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.0001002/0.5068, allocations: 118.5 kB / 0.5732 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.5069, allocations: 7.906 kB / 0.5732 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.5069, allocations: 20.44 kB / 0.5733 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5069, allocations: 0 / 0.5733 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.507, allocations: 7.953 kB / 0.5733 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.507, allocations: 3.984 kB / 0.5733 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.5071, allocations: 189.6 kB / 0.5735 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5072, allocations: 4.5 kB / 0.5735 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.5074, allocations: 39.98 kB / 0.5735 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5074, allocations: 0 / 0.5735 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5074, allocations: 4.875 kB / 0.5735 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5074, allocations: 0 / 0.5735 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5074, allocations: 3.953 kB / 0.5735 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.5077, allocations: 213.5 kB / 0.5737 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.5078, allocations: 89 kB / 0.5738 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.5078, allocations: 4.062 kB / 0.5738 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.508, allocations: 8.5 kB / 0.5738 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.508, allocations: 15.94 kB / 0.5738 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.508, allocations: 7.938 kB / 0.5738 GB, free: 4.664 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.281e-05/0.5081, allocations: 79.28 kB / 0.5739 GB, free: 4.586 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5081, allocations: 2.344 kB / 0.5739 GB, free: 4.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.5083, allocations: 32.09 kB / 0.5739 GB, free: 4.555 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001298/0.5084, allocations: 103.9 kB / 0.574 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.5086, allocations: 107.4 kB / 0.5741 GB, free: 4.344 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5087, allocations: 0 / 0.5741 GB, free: 4.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.5087, allocations: 51.92 kB / 0.5742 GB, free: 4.293 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.5089, allocations: 16.7 kB / 0.5742 GB, free: 4.277 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.5098, allocations: 0.6118 MB / 0.5748 GB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.51, allocations: 0.7011 MB / 0.5755 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.5102, allocations: 28.62 kB / 0.5755 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.5102, allocations: 15.44 kB / 0.5755 GB, free: 2.895 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5102, allocations: 0 / 0.5755 GB, free: 2.895 MB / 446.1 MB Notification: Performance of Templates: time 0.003573/0.5138, allocations: 1.022 MB / 0.5765 GB, free: 1.898 MB / 446.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: