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: "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_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.004792/0.004792, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001056/0.001056, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7392/0.7392, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 0.5808 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3918, allocations: 80.21 MB / 0.6592 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002093/0.3939, allocations: 1.332 MB / 0.6605 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.161/0.555, allocations: 148.1 MB / 0.8051 GB, free: 216 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.5551, allocations: 0 / 0.8051 GB, free: 216 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.766e-05/0.5551, allocations: 3.984 kB / 0.8051 GB, free: 212 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.5553, allocations: 19.86 kB / 0.8051 GB, free: 192 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.5567, allocations: 334.6 kB / 0.8054 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.5568, allocations: 67.7 kB / 0.8055 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.5569, allocations: 4 kB / 0.8055 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.5569, allocations: 31.91 kB / 0.8055 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.777e-05/0.557, allocations: 35.89 kB / 0.8056 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.5571, allocations: 4 kB / 0.8056 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008824/0.5579, allocations: 406.8 kB / 0.806 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.558, allocations: 19.97 kB / 0.806 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.5581, allocations: 23.86 kB / 0.806 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.5585, allocations: 162 kB / 0.8061 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5585, allocations: 0 / 0.8061 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5585, allocations: 0 / 0.8061 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.5585, allocations: 0 / 0.8061 GB, free: 15.12 MB / 0.6387 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.0004909/0.559, allocations: 399.2 kB / 0.8065 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.559, allocations: 12.03 kB / 0.8065 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.5591, allocations: 34.75 kB / 0.8066 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.5595, allocations: 36.89 kB / 0.8066 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.5596, allocations: 168.1 kB / 0.8068 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5597, allocations: 8 kB / 0.8068 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.5597, allocations: 11.91 kB / 0.8068 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.5599, allocations: 81.03 kB / 0.8069 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5599, allocations: 3.938 kB / 0.8069 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.5599, allocations: 4 kB / 0.8069 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5599, allocations: 0 / 0.8069 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.5601, allocations: 47.89 kB / 0.8069 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.5603, allocations: 193.5 kB / 0.8071 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.5605, allocations: 94.67 kB / 0.8072 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.5605, allocations: 28.84 kB / 0.8072 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.5608, allocations: 182.1 kB / 0.8074 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.5608, allocations: 42.55 kB / 0.8074 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.5608, allocations: 0 / 0.8074 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001375/0.5622, allocations: 0.5316 MB / 0.808 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.5623, allocations: 55.41 kB / 0.808 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.5623, allocations: 109.8 kB / 0.8081 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5624, allocations: 29.7 kB / 0.8081 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.5624, allocations: 80.52 kB / 0.8082 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.5625, allocations: 67 kB / 0.8083 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.5625, allocations: 41.7 kB / 0.8083 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5626, allocations: 318.8 kB / 0.8086 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.5627, allocations: 39.92 kB / 0.8087 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-05/0.5628, allocations: 71.53 kB / 0.8087 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.563, allocations: 119.3 kB / 0.8088 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.563, allocations: 0 / 0.8088 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002207/0.5632, allocations: 153.5 kB / 0.809 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5632, allocations: 4 kB / 0.809 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5632, allocations: 4 kB / 0.809 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5632, allocations: 0 / 0.809 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.5634, allocations: 47.91 kB / 0.809 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5634, allocations: 3.938 kB / 0.809 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.5635, allocations: 8 kB / 0.8091 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.5635, allocations: 4 kB / 0.8091 GB, free: 11.8 MB / 0.6387 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 9.56e-05/0.5636, allocations: 126.4 kB / 0.8092 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.5636, allocations: 15.84 kB / 0.8092 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.5637, allocations: 16.44 kB / 0.8092 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.5637, allocations: 0 / 0.8092 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.5637, allocations: 7.938 kB / 0.8092 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5637, allocations: 7.984 kB / 0.8092 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.5639, allocations: 189.6 kB / 0.8094 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5639, allocations: 4 kB / 0.8094 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.5641, allocations: 32.11 kB / 0.8094 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.5641, allocations: 4 kB / 0.8094 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5641, allocations: 8 kB / 0.8095 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5641, allocations: 0 / 0.8095 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5641, allocations: 7.875 kB / 0.8095 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.5644, allocations: 208.9 kB / 0.8097 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.5645, allocations: 97.06 kB / 0.8098 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.5646, allocations: 0 / 0.8098 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5647, allocations: 8 kB / 0.8098 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.5647, allocations: 11.92 kB / 0.8098 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.5647, allocations: 12 kB / 0.8098 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.5648, allocations: 75.28 kB / 0.8099 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5648, allocations: 0 / 0.8099 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002189/0.565, allocations: 28.09 kB / 0.8099 GB, free: 10.86 MB / 0.6387 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.0005737/0.5656, allocations: 0.7503 MB / 0.8106 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.5658, allocations: 108.2 kB / 0.8107 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5658, allocations: 0 / 0.8107 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.5659, allocations: 55.91 kB / 0.8108 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.5662, allocations: 20.09 kB / 0.8108 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.568, allocations: 1.821 MB / 0.8126 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5683, allocations: 0.7047 MB / 0.8133 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.5684, allocations: 24.62 kB / 0.8133 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.5684, allocations: 23.44 kB / 0.8133 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of SimCode: time 1.803e-06/0.5685, allocations: 0 / 0.8133 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.5882, allocations: 2.417 MB / 0.8157 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.902, allocations: 11.47 kB / 0.8157 GB, free: 4.879 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)