Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00113/0.00113, allocations: 109.2 kB / 16.42 MB, free: 6.434 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.001123/0.001123, allocations: 187.9 kB / 17.35 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8193/0.8193, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 61.88 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1672, allocations: 80.2 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002196/0.1694, allocations: 1.342 MB / 0.6616 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4655/0.6349, allocations: 148.1 MB / 0.8062 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.635, allocations: 5.219 kB / 0.8062 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.6351, allocations: 6 kB / 0.8062 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.6352, allocations: 14.14 kB / 0.8063 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008738/0.6361, allocations: 341.6 kB / 0.8066 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.566e-05/0.6362, allocations: 66.12 kB / 0.8066 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.6362, allocations: 5.297 kB / 0.8066 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.6363, allocations: 35.11 kB / 0.8067 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.6363, allocations: 32.98 kB / 0.8067 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.6364, allocations: 2.75 kB / 0.8067 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007512/0.6371, allocations: 409.3 kB / 0.8071 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.6372, allocations: 21.53 kB / 0.8071 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.6372, allocations: 27.61 kB / 0.8072 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.6375, allocations: 160.8 kB / 0.8073 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6376, allocations: 0 / 0.8073 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6376, allocations: 0 / 0.8073 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.6376, allocations: 1.156 kB / 0.8073 GB, free: 11.72 MB / 0.5919 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.0004188/0.638, allocations: 391.4 kB / 0.8077 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.638, allocations: 9 kB / 0.8077 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.6384, allocations: 40.77 kB / 0.8077 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.6385, allocations: 174.5 kB / 0.8079 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.6386, allocations: 14.38 kB / 0.8079 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.6386, allocations: 8.594 kB / 0.8079 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.6388, allocations: 75.77 kB / 0.808 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.6388, allocations: 0 / 0.808 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.6388, allocations: 5.562 kB / 0.808 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.6388, allocations: 1.281 kB / 0.808 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.221e-05/0.6389, allocations: 49.72 kB / 0.808 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.6391, allocations: 180.7 kB / 0.8082 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.6393, allocations: 100.1 kB / 0.8083 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.6393, allocations: 31.12 kB / 0.8083 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.6396, allocations: 179.8 kB / 0.8085 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.6396, allocations: 32.75 kB / 0.8085 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.6396, allocations: 0 / 0.8085 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001206/0.6408, allocations: 0.5514 MB / 0.8091 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.6408, allocations: 53.59 kB / 0.8091 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.683e-05/0.6409, allocations: 98.95 kB / 0.8092 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.6409, allocations: 31.55 kB / 0.8093 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.641, allocations: 84.08 kB / 0.8093 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.641, allocations: 73 kB / 0.8094 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.6411, allocations: 38.64 kB / 0.8094 GB, free: 10 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.6412, allocations: 324.8 kB / 0.8098 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.6412, allocations: 36.41 kB / 0.8098 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.6413, allocations: 75.58 kB / 0.8099 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.6415, allocations: 115.5 kB / 0.81 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6415, allocations: 0 / 0.81 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001945/0.6417, allocations: 155 kB / 0.8101 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.6417, allocations: 13.78 kB / 0.8101 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.6417, allocations: 0 / 0.8101 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6417, allocations: 2.594 kB / 0.8101 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.6419, allocations: 36.12 kB / 0.8102 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.6419, allocations: 0 / 0.8102 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.6419, allocations: 9.719 kB / 0.8102 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.642, allocations: 11.33 kB / 0.8102 GB, free: 9.566 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.642, allocations: 125.5 kB / 0.8103 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.6421, allocations: 9.359 kB / 0.8103 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.6421, allocations: 20.25 kB / 0.8103 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6421, allocations: 0 / 0.8103 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6421, allocations: 0 / 0.8103 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.6422, allocations: 93.52 kB / 0.8104 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.6422, allocations: 11.25 kB / 0.8104 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.6424, allocations: 10.91 kB / 0.8104 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.6424, allocations: 9.875 kB / 0.8105 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003316/0.6427, allocations: 233.5 kB / 0.8107 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003138/0.6431, allocations: 367.8 kB / 0.811 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.665e-05/0.6431, allocations: 54.59 kB / 0.8111 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.713e-05/0.6432, allocations: 83.91 kB / 0.8112 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of Backend: time 3.1e-07/0.6432, allocations: 0 / 0.8112 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005425/0.6437, allocations: 230.2 kB / 0.8114 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0007598/0.6445, allocations: 0.9218 MB / 0.8123 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of Templates: time 0.005044/0.6495, allocations: 2.365 MB / 0.8146 GB, free: 7.277 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)