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.0009214/0.0009217, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001091/0.001091, allocations: 172.7 kB / 15.95 MB, free: 208 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.392/1.392, allocations: 223.2 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7424/0.7424, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004321, allocations: 8.75 kB / 0.5035 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4678, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001668/0.4695, allocations: 1.041 MB / 0.5842 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1633/0.6329, allocations: 134.5 MB / 0.7155 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.633, allocations: 0 / 0.7155 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.633, allocations: 0 / 0.7155 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.6331, allocations: 15.91 kB / 0.7155 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.6338, allocations: 222.4 kB / 0.7157 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.259e-05/0.6339, allocations: 75.73 kB / 0.7158 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.634, allocations: 0 / 0.7158 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.634, allocations: 35.91 kB / 0.7158 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.6342, allocations: 31.89 kB / 0.7158 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.6342, allocations: 4 kB / 0.7158 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.6348, allocations: 247.3 kB / 0.7161 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.6348, allocations: 23.91 kB / 0.7161 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.6349, allocations: 33.7 kB / 0.7161 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.6351, allocations: 106 kB / 0.7162 GB, free: 7.863 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6351, allocations: 0 / 0.7162 GB, free: 7.863 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6351, allocations: 0 / 0.7162 GB, free: 7.863 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.6351, allocations: 0 / 0.7162 GB, free: 7.863 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.0004147/0.6355, allocations: 375.2 kB / 0.7166 GB, free: 7.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.6356, allocations: 8.031 kB / 0.7166 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.6356, allocations: 38.56 kB / 0.7166 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.636, allocations: 43.81 kB / 0.7167 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.6361, allocations: 167 kB / 0.7168 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6361, allocations: 4 kB / 0.7168 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.6362, allocations: 12 kB / 0.7169 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.6363, allocations: 77.58 kB / 0.7169 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.6364, allocations: 0 / 0.7169 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6364, allocations: 7.938 kB / 0.7169 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.6364, allocations: 0 / 0.7169 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.6365, allocations: 51.91 kB / 0.717 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.6367, allocations: 189.5 kB / 0.7172 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.6369, allocations: 90.62 kB / 0.7173 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.637, allocations: 32.84 kB / 0.7173 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/0.6372, allocations: 178.2 kB / 0.7175 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.6372, allocations: 38.56 kB / 0.7175 GB, free: 6.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.6372, allocations: 0 / 0.7175 GB, free: 6.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.00129/0.6385, allocations: 0.5387 MB / 0.718 GB, free: 5.777 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.6386, allocations: 63.36 kB / 0.7181 GB, free: 5.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.6387, allocations: 93.84 kB / 0.7182 GB, free: 5.602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.6387, allocations: 33.7 kB / 0.7182 GB, free: 5.562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.6387, allocations: 80.52 kB / 0.7183 GB, free: 5.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.6388, allocations: 71 kB / 0.7183 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-06/0.6388, allocations: 4 kB / 0.7184 GB, free: 5.406 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.639, allocations: 322.8 kB / 0.7187 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.639, allocations: 36.11 kB / 0.7187 GB, free: 5.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.6391, allocations: 63.41 kB / 0.7188 GB, free: 4.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.724e-05/0.6392, allocations: 51.92 kB / 0.7188 GB, free: 4.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.6392, allocations: 3.938 kB / 0.7188 GB, free: 4.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002092/0.6395, allocations: 161.5 kB / 0.719 GB, free: 4.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6395, allocations: 4 kB / 0.719 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6395, allocations: 4 kB / 0.719 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6395, allocations: 0 / 0.719 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.6397, allocations: 43.92 kB / 0.719 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.6397, allocations: 0 / 0.719 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.6398, allocations: 11.95 kB / 0.719 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.6398, allocations: 4 kB / 0.719 GB, free: 4.688 MB / 0.545 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.771e-05/0.6399, allocations: 123.3 kB / 0.7191 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.6399, allocations: 11.91 kB / 0.7192 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.64, allocations: 20.42 kB / 0.7192 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.64, allocations: 0 / 0.7192 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.64, allocations: 4 kB / 0.7192 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.64, allocations: 4 kB / 0.7192 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.6401, allocations: 193.6 kB / 0.7194 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6402, allocations: 4 kB / 0.7194 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.6403, allocations: 31.98 kB / 0.7194 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.6404, allocations: 0 / 0.7194 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.6404, allocations: 8 kB / 0.7194 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6404, allocations: 0 / 0.7194 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6404, allocations: 0 / 0.7194 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.6407, allocations: 218.6 kB / 0.7196 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.361e-05/0.6408, allocations: 93.06 kB / 0.7197 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.6408, allocations: 4 kB / 0.7197 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.6409, allocations: 11.98 kB / 0.7197 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.641, allocations: 7.984 kB / 0.7197 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.641, allocations: 8.25 kB / 0.7197 GB, free: 3.867 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.641, allocations: 79.28 kB / 0.7198 GB, free: 3.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6411, allocations: 0 / 0.7198 GB, free: 3.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000223/0.6413, allocations: 24 kB / 0.7198 GB, free: 3.766 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.000571/0.6419, allocations: 0.7562 MB / 0.7206 GB, free: 2.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.6421, allocations: 105.1 kB / 0.7207 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6421, allocations: 0 / 0.7207 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.6421, allocations: 55.92 kB / 0.7207 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.6424, allocations: 18.38 kB / 0.7207 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.6437, allocations: 1.003 MB / 0.7217 GB, free: 1.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.644, allocations: 0.7011 MB / 0.7224 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.6441, allocations: 24.42 kB / 0.7224 GB, free: 1.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.6442, allocations: 27.42 kB / 0.7225 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6442, allocations: 0 / 0.7225 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.6574, allocations: 2.107 MB / 0.7245 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.6576, allocations: 166.7 kB / 0.7247 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.39, allocations: 0 / 0.7247 GB, free: 14.75 MB / 0.5606 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/linux/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) Environment - environmentSimulation: