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: "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001273/0.001274, allocations: 194.8 kB / 16.14 MB, free: 6.668 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8758/0.8758, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.73 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1414, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.00219/0.1436, allocations: 1.397 MB / 0.5852 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3684/0.512, allocations: 145.8 MB / 0.7275 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.5121, allocations: 0 / 0.7275 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.5121, allocations: 2.875 kB / 0.7275 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.302e-05/0.5123, allocations: 21.11 kB / 0.7276 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009979/0.5133, allocations: 294.8 kB / 0.7278 GB, free: 2.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.5134, allocations: 89.89 kB / 0.7279 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3e-05/0.5135, allocations: 3.953 kB / 0.7279 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.5135, allocations: 34.42 kB / 0.728 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.5136, allocations: 32 kB / 0.728 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.5136, allocations: 3.594 kB / 0.728 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.5146, allocations: 0.4899 MB / 0.7285 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.5147, allocations: 15.95 kB / 0.7285 GB, free: 2.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.5148, allocations: 33.92 kB / 0.7285 GB, free: 2.285 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.5152, allocations: 186.8 kB / 0.7287 GB, free: 2.223 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5152, allocations: 1.344 kB / 0.7287 GB, free: 2.223 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5152, allocations: 0 / 0.7287 GB, free: 2.223 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.5152, allocations: 4 kB / 0.7287 GB, free: 2.219 MB / 0.545 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.0004539/0.5157, allocations: 392.3 kB / 0.7291 GB, free: 1.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.5157, allocations: 9.125 kB / 0.7291 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.5158, allocations: 34.64 kB / 0.7291 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/0.5162, allocations: 41.22 kB / 0.7292 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.5163, allocations: 169 kB / 0.7293 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.5163, allocations: 10.78 kB / 0.7293 GB, free: 1.578 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.5164, allocations: 9.406 kB / 0.7293 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.5165, allocations: 75.31 kB / 0.7294 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5165, allocations: 3.938 kB / 0.7294 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.5166, allocations: 5.5 kB / 0.7294 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5166, allocations: 1.125 kB / 0.7294 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.5167, allocations: 46.67 kB / 0.7295 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.5169, allocations: 194.2 kB / 0.7296 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.517, allocations: 91.47 kB / 0.7297 GB, free: 1.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.5171, allocations: 28.64 kB / 0.7298 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.5173, allocations: 181.1 kB / 0.7299 GB, free: 1.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5174, allocations: 34.14 kB / 0.73 GB, free: 1.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.5174, allocations: 0 / 0.73 GB, free: 1.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001214/0.5186, allocations: 0.5499 MB / 0.7305 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.5186, allocations: 58.5 kB / 0.7306 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.5187, allocations: 99.12 kB / 0.7307 GB, free: 500 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5187, allocations: 36.14 kB / 0.7307 GB, free: 460 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.5188, allocations: 80.52 kB / 0.7308 GB, free: 376 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.5188, allocations: 68.16 kB / 0.7308 GB, free: 320 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.5189, allocations: 40.47 kB / 0.7309 GB, free: 292 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.519, allocations: 320.1 kB / 0.7312 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.519, allocations: 32.45 kB / 0.7312 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.5191, allocations: 72.97 kB / 0.7313 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.5193, allocations: 118.8 kB / 0.7314 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5193, allocations: 1.25 kB / 0.7314 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002197/0.5195, allocations: 160.5 kB / 0.7315 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5196, allocations: 6.219 kB / 0.7315 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.5196, allocations: 5.062 kB / 0.7316 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.5196, allocations: 1.125 kB / 0.7316 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.5197, allocations: 38.75 kB / 0.7316 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5198, allocations: 8.953 kB / 0.7316 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.5198, allocations: 10.25 kB / 0.7316 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.5198, allocations: 8.656 kB / 0.7316 GB, free: 15.74 MB / 0.5606 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 8.858e-05/0.5199, allocations: 119.7 kB / 0.7317 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.52, allocations: 9.562 kB / 0.7317 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.52, allocations: 17 kB / 0.7318 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.52, allocations: 2.375 kB / 0.7318 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.52, allocations: 1.828 kB / 0.7318 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.52, allocations: 4.453 kB / 0.7318 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.5202, allocations: 189.4 kB / 0.7319 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5202, allocations: 4 kB / 0.7319 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.5204, allocations: 44.27 kB / 0.732 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5204, allocations: 1.125 kB / 0.732 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5204, allocations: 1.781 kB / 0.732 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5204, allocations: 0.9375 kB / 0.732 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5205, allocations: 0 / 0.732 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.5208, allocations: 214.1 kB / 0.7322 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.5208, allocations: 90.84 kB / 0.7323 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.5209, allocations: 11.62 kB / 0.7323 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.521, allocations: 5.734 kB / 0.7323 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.521, allocations: 16.8 kB / 0.7323 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.521, allocations: 4.859 kB / 0.7323 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.5211, allocations: 77.83 kB / 0.7324 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5211, allocations: 0 / 0.7324 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002153/0.5213, allocations: 30.19 kB / 0.7324 GB, free: 15.07 MB / 0.5606 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 (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.0005544/0.5219, allocations: 0.7507 MB / 0.7332 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.522, allocations: 104.9 kB / 0.7333 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5221, allocations: 1.531 kB / 0.7333 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.5221, allocations: 51.84 kB / 0.7333 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.5224, allocations: 20.56 kB / 0.7333 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.5241, allocations: 1.846 MB / 0.7351 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.5244, allocations: 0.6994 MB / 0.7358 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000126/0.5245, allocations: 22.72 kB / 0.7358 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.5246, allocations: 29.59 kB / 0.7359 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.5246, allocations: 0 / 0.7359 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4466/0.9711, allocations: 2.226 MB / 0.738 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/0.9715, allocations: 182.7 kB / 0.7382 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.877, allocations: 4 kB / 0.7382 GB, free: 11.5 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)