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.001811/0.001811, allocations: 99.86 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.002137/0.002137, 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 2.428/2.428, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.592/1.592, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006033, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3506, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002588/0.3533, allocations: 1.025 MB / 0.5883 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.9299/1.283, allocations: 125.2 MB / 0.7105 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/1.283, allocations: 1.344 kB / 0.7105 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.723e-05/1.283, allocations: 3.141 kB / 0.7105 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/1.284, allocations: 14.7 kB / 0.7105 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/1.285, allocations: 236.5 kB / 0.7107 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/1.285, allocations: 39.95 kB / 0.7108 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.096e-05/1.285, allocations: 7.969 kB / 0.7108 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/1.285, allocations: 29.59 kB / 0.7108 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/1.285, allocations: 29.45 kB / 0.7108 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/1.285, allocations: 3.469 kB / 0.7108 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/1.286, allocations: 280.1 kB / 0.7111 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/1.287, allocations: 16.48 kB / 0.7111 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/1.287, allocations: 37.08 kB / 0.7112 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/1.287, allocations: 107.1 kB / 0.7113 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.287, allocations: 0 / 0.7113 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.877e-06/1.287, allocations: 4.703 kB / 0.7113 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.287, allocations: 1.5 kB / 0.7113 GB, free: 2.273 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.0006831/1.288, allocations: 370.5 kB / 0.7116 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/1.288, allocations: 10 kB / 0.7116 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/1.288, allocations: 38.45 kB / 0.7117 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006192/1.289, allocations: 36.94 kB / 0.7117 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/1.289, allocations: 162.5 kB / 0.7119 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/1.289, allocations: 10.22 kB / 0.7119 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/1.289, allocations: 12.92 kB / 0.7119 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/1.289, allocations: 78.59 kB / 0.7119 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.289, allocations: 3.938 kB / 0.712 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/1.289, allocations: 2.688 kB / 0.712 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/1.289, allocations: 1.125 kB / 0.712 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/1.289, allocations: 44.39 kB / 0.712 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/1.29, allocations: 196.3 kB / 0.7122 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/1.29, allocations: 88.55 kB / 0.7123 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/1.29, allocations: 10.89 kB / 0.7123 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.29, allocations: 40 kB / 0.7123 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/1.29, allocations: 0 / 0.7123 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.00242/1.292, allocations: 0.5401 MB / 0.7128 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.293, allocations: 55.2 kB / 0.7129 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/1.293, allocations: 97.42 kB / 0.713 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/1.293, allocations: 31.8 kB / 0.713 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.293, allocations: 81.58 kB / 0.7131 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/1.293, allocations: 65.17 kB / 0.7132 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/1.293, allocations: 9 kB / 0.7132 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002211/1.293, allocations: 323.5 kB / 0.7135 GB, free: 272 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/1.293, allocations: 40.72 kB / 0.7135 GB, free: 256 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/1.294, allocations: 70.28 kB / 0.7136 GB, free: 208 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/1.294, allocations: 47.09 kB / 0.7136 GB, free: 192 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/1.294, allocations: 0 / 0.7136 GB, free: 192 kB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005598/1.294, allocations: 155 kB / 0.7138 GB, free: 112 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/1.294, allocations: 6.125 kB / 0.7138 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.294, allocations: 1.062 kB / 0.7138 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/1.294, allocations: 2.188 kB / 0.7138 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/1.295, allocations: 43.7 kB / 0.7138 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/1.295, allocations: 2.219 kB / 0.7138 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/1.295, allocations: 2.906 kB / 0.7138 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/1.295, allocations: 8.375 kB / 0.7138 GB, free: 100 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 0.0002207/1.295, allocations: 132.1 kB / 0.714 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/1.295, allocations: 12.98 kB / 0.714 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.599e-05/1.295, allocations: 17.14 kB / 0.714 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.295, allocations: 2.844 kB / 0.714 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.295, allocations: 0 / 0.714 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.295, allocations: 3.203 kB / 0.714 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/1.296, allocations: 191.9 kB / 0.7142 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.296, allocations: 0 / 0.7142 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/1.296, allocations: 43.22 kB / 0.7142 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/1.296, allocations: 2.031 kB / 0.7142 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/1.296, allocations: 2.516 kB / 0.7142 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/1.296, allocations: 0 / 0.7142 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.296, allocations: 4 kB / 0.7142 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/1.297, allocations: 209.6 kB / 0.7144 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/1.297, allocations: 91.02 kB / 0.7145 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/1.297, allocations: 8.531 kB / 0.7145 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/1.298, allocations: 8.766 kB / 0.7145 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/1.298, allocations: 13.23 kB / 0.7145 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/1.298, allocations: 5.172 kB / 0.7146 GB, free: 15.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.397e-05/1.298, allocations: 82 kB / 0.7146 GB, free: 15.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/1.298, allocations: 0 / 0.7146 GB, free: 15.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004779/1.298, allocations: 30.62 kB / 0.7147 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.001345/1.3, allocations: 0.75 MB / 0.7154 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004245/1.3, allocations: 103.9 kB / 0.7155 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.3, allocations: 5.125 kB / 0.7155 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.3, allocations: 55.19 kB / 0.7156 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/1.301, allocations: 11.28 kB / 0.7156 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/1.304, allocations: 1.449 MB / 0.717 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/1.305, allocations: 0.7028 MB / 0.7177 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005053/1.305, allocations: 23.62 kB / 0.7177 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/1.305, allocations: 29.25 kB / 0.7177 GB, free: 12.83 MB / 0.545 GB Notification: Performance of SimCode: time 1.933e-06/1.305, allocations: 1.031 kB / 0.7177 GB, free: 12.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/1.334, allocations: 2.105 MB / 0.7198 GB, free: 12.63 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/1.335, allocations: 161.5 kB / 0.7199 GB, free: 12.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/3.169, allocations: 1.188 kB / 0.7199 GB, free: 12.39 MB / 0.545 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/linux/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) Environment - environmentSimulation: