Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008252/0.0008254, allocations: 99.7 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.0008376/0.0008376, 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 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8088/0.8088, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002724, allocations: 8 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001261/0.1532, allocations: 1.021 MB / 0.5882 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3783/0.5315, allocations: 125.2 MB / 0.7104 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.5316, allocations: 0 / 0.7104 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.5317, allocations: 5.484 kB / 0.7104 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.5317, allocations: 6.953 kB / 0.7104 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.5325, allocations: 236.6 kB / 0.7106 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.756e-05/0.5325, allocations: 48.64 kB / 0.7107 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.5326, allocations: 3.875 kB / 0.7107 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.5326, allocations: 30.77 kB / 0.7107 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.996e-05/0.5327, allocations: 25.12 kB / 0.7107 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.5328, allocations: 3.562 kB / 0.7107 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.5334, allocations: 281.2 kB / 0.711 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.5335, allocations: 24.14 kB / 0.711 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.5335, allocations: 33.36 kB / 0.7111 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.5338, allocations: 102.1 kB / 0.7112 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.5338, allocations: 0 / 0.7112 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5338, allocations: 0.6562 kB / 0.7112 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5338, allocations: 0 / 0.7112 GB, free: 2.227 MB / 0.5294 GB 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.0004016/0.5342, allocations: 374.8 kB / 0.7115 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5342, allocations: 10.5 kB / 0.7115 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.5346, allocations: 45.92 kB / 0.7116 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.881e-05/0.5347, allocations: 165 kB / 0.7117 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.5348, allocations: 7.422 kB / 0.7117 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.5348, allocations: 8.906 kB / 0.7117 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.535, allocations: 74.11 kB / 0.7118 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.535, allocations: 0 / 0.7118 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.535, allocations: 10.12 kB / 0.7118 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.535, allocations: 5.828 kB / 0.7118 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.5351, allocations: 45.2 kB / 0.7119 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.5353, allocations: 196 kB / 0.7121 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.5355, allocations: 88.56 kB / 0.7121 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.5356, allocations: 6.75 kB / 0.7121 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.5356, allocations: 37.31 kB / 0.7122 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.5356, allocations: 1.188 kB / 0.7122 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.001241/0.5369, allocations: 0.5449 MB / 0.7127 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.5369, allocations: 53.59 kB / 0.7128 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.537, allocations: 94.56 kB / 0.7129 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.537, allocations: 36.3 kB / 0.7129 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.5371, allocations: 85.12 kB / 0.713 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.5371, allocations: 65.33 kB / 0.713 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.5371, allocations: 5.219 kB / 0.713 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5372, allocations: 323.2 kB / 0.7134 GB, free: 256 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.5373, allocations: 32.92 kB / 0.7134 GB, free: 248 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/0.5374, allocations: 68.7 kB / 0.7134 GB, free: 204 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.5375, allocations: 46.38 kB / 0.7135 GB, free: 184 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.5375, allocations: 1.469 kB / 0.7135 GB, free: 184 kB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002279/0.5377, allocations: 162.3 kB / 0.7136 GB, free: 100 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.5377, allocations: 8.516 kB / 0.7137 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5378, allocations: 1.156 kB / 0.7137 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5378, allocations: 1.906 kB / 0.7137 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.538, allocations: 40.38 kB / 0.7137 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.538, allocations: 4.688 kB / 0.7137 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.538, allocations: 10.19 kB / 0.7137 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.538, allocations: 5.469 kB / 0.7137 GB, free: 88 kB / 0.5294 GB 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 9.968e-05/0.5381, allocations: 127.6 kB / 0.7138 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.5382, allocations: 5.406 kB / 0.7138 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.5382, allocations: 17.05 kB / 0.7139 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5382, allocations: 6.125 kB / 0.7139 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5383, allocations: 5 kB / 0.7139 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5383, allocations: 1.312 kB / 0.7139 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.5384, allocations: 197.7 kB / 0.7141 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5384, allocations: 1.281 kB / 0.7141 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.5386, allocations: 38.34 kB / 0.7141 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5386, allocations: 1 kB / 0.7141 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5386, allocations: 5.562 kB / 0.7141 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5387, allocations: 1.031 kB / 0.7141 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5387, allocations: 1.688 kB / 0.7141 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.539, allocations: 211.8 kB / 0.7143 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.5391, allocations: 94.66 kB / 0.7144 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.5391, allocations: 2.438 kB / 0.7144 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.5392, allocations: 12.8 kB / 0.7144 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.5393, allocations: 9.594 kB / 0.7144 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.5393, allocations: 10.12 kB / 0.7144 GB, free: 15.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.5393, allocations: 77.28 kB / 0.7145 GB, free: 15.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5393, allocations: 1.188 kB / 0.7145 GB, free: 15.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002107/0.5395, allocations: 25.75 kB / 0.7145 GB, free: 15.41 MB / 0.545 GB 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.0001219/0.5397, allocations: 110.1 kB / 0.7146 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.5399, allocations: 108.2 kB / 0.7147 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5399, allocations: 0 / 0.7147 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.769e-05/0.54, allocations: 56.33 kB / 0.7148 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.5402, allocations: 10.16 kB / 0.7148 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.541, allocations: 0.6214 MB / 0.7154 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.5413, allocations: 0.7017 MB / 0.7161 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.5414, allocations: 23.72 kB / 0.7161 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.5414, allocations: 16.19 kB / 0.7161 GB, free: 14.11 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5414, allocations: 0 / 0.7161 GB, free: 14.11 MB / 0.545 GB Notification: Performance of Templates: time 0.0043/0.5457, allocations: 1.018 MB / 0.7171 GB, free: 14 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: