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.0008545/0.0008546, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00567/0.00567, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7226/0.7226, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.0002821, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3505, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001037/0.3515, allocations: 1.065 MB / 0.5848 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1403/0.4918, allocations: 144.2 MB / 0.7256 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.4919, allocations: 0 / 0.7256 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.492, allocations: 3.938 kB / 0.7256 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.589e-05/0.4921, allocations: 11.92 kB / 0.7257 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.4929, allocations: 298.8 kB / 0.7259 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.675e-05/0.493, allocations: 83.8 kB / 0.726 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.493, allocations: 4 kB / 0.726 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.4931, allocations: 31.91 kB / 0.7261 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.4932, allocations: 39.83 kB / 0.7261 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.4932, allocations: 0 / 0.7261 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000759/0.4939, allocations: 498.7 kB / 0.7266 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.494, allocations: 15.92 kB / 0.7266 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.4941, allocations: 57.61 kB / 0.7266 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.4944, allocations: 185.7 kB / 0.7268 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4944, allocations: 3.938 kB / 0.7268 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4944, allocations: 0 / 0.7268 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.4944, allocations: 0 / 0.7268 GB, free: 13.4 MB / 0.5606 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.0003613/0.4948, allocations: 379.4 kB / 0.7272 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4948, allocations: 8.031 kB / 0.7272 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.4948, allocations: 38.73 kB / 0.7272 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.4952, allocations: 36.81 kB / 0.7273 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.739e-05/0.4953, allocations: 172.1 kB / 0.7274 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.4953, allocations: 4 kB / 0.7274 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.4954, allocations: 8 kB / 0.7274 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4955, allocations: 81.53 kB / 0.7275 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.4955, allocations: 0 / 0.7275 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.4956, allocations: 8 kB / 0.7275 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4956, allocations: 4 kB / 0.7275 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.087e-05/0.4957, allocations: 43.95 kB / 0.7276 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.4958, allocations: 193.4 kB / 0.7278 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.496, allocations: 86.55 kB / 0.7278 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.4961, allocations: 32.92 kB / 0.7279 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.4963, allocations: 182.2 kB / 0.728 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4963, allocations: 30.56 kB / 0.7281 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.4963, allocations: 0 / 0.7281 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0012/0.4975, allocations: 0.546 MB / 0.7286 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.4976, allocations: 63.33 kB / 0.7287 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.876e-05/0.4976, allocations: 93.8 kB / 0.7288 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4977, allocations: 33.7 kB / 0.7288 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.4977, allocations: 80.52 kB / 0.7289 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.4977, allocations: 74.98 kB / 0.7289 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.4978, allocations: 25.84 kB / 0.729 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.4979, allocations: 318.8 kB / 0.7293 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.4979, allocations: 39.92 kB / 0.7293 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.498, allocations: 67.41 kB / 0.7294 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.4982, allocations: 123.3 kB / 0.7295 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4982, allocations: 0 / 0.7295 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002286/0.4984, allocations: 161.5 kB / 0.7296 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4984, allocations: 4 kB / 0.7296 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4985, allocations: 0 / 0.7296 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4985, allocations: 7.984 kB / 0.7296 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.4986, allocations: 39.92 kB / 0.7297 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4986, allocations: 3.938 kB / 0.7297 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.4987, allocations: 8 kB / 0.7297 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4987, allocations: 4 kB / 0.7297 GB, free: 10.12 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.088e-05/0.4988, allocations: 123.3 kB / 0.7298 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.4988, allocations: 15.84 kB / 0.7298 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.4989, allocations: 24.42 kB / 0.7299 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4989, allocations: 0 / 0.7299 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4989, allocations: 3.938 kB / 0.7299 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4989, allocations: 0 / 0.7299 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.4991, allocations: 193.6 kB / 0.73 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4991, allocations: 0 / 0.73 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.4992, allocations: 35.98 kB / 0.7301 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4993, allocations: 3.938 kB / 0.7301 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4993, allocations: 8 kB / 0.7301 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4993, allocations: 4 kB / 0.7301 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4993, allocations: 4.062 kB / 0.7301 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.4996, allocations: 206.6 kB / 0.7303 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.4996, allocations: 97.06 kB / 0.7304 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4997, allocations: 0 / 0.7304 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4998, allocations: 8 kB / 0.7304 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.4998, allocations: 11.92 kB / 0.7304 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4998, allocations: 11.98 kB / 0.7304 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.4999, allocations: 83.28 kB / 0.7305 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4999, allocations: 0 / 0.7305 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002086/0.5001, allocations: 24 kB / 0.7305 GB, free: 9.184 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.0004939/0.5006, allocations: 0.7508 MB / 0.7313 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.5008, allocations: 103.9 kB / 0.7314 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5008, allocations: 11.88 kB / 0.7314 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.5009, allocations: 47.92 kB / 0.7314 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.5011, allocations: 26.45 kB / 0.7314 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.5028, allocations: 1.914 MB / 0.7333 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.503, allocations: 0.7011 MB / 0.734 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.5031, allocations: 24.42 kB / 0.734 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.5032, allocations: 23.44 kB / 0.734 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.5032, allocations: 0 / 0.734 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2313/0.7345, allocations: 2.163 MB / 0.7361 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.7348, allocations: 175 kB / 0.7363 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.72, allocations: 0 / 0.7363 GB, free: 3.141 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/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)