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.005856/0.005856, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001252/0.001252, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8349/0.8349, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.05 kB / 0.5851 GB, free: 22.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1572, allocations: 80.92 MB / 0.6641 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002684/0.1599, allocations: 1.335 MB / 0.6654 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.551/0.711, allocations: 148.1 MB / 0.81 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.711, allocations: 0 / 0.81 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.7111, allocations: 6.281 kB / 0.8101 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.7112, allocations: 15 kB / 0.8101 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008685/0.7121, allocations: 334.3 kB / 0.8104 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.7122, allocations: 70.7 kB / 0.8105 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.7123, allocations: 2.438 kB / 0.8105 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.7123, allocations: 33.12 kB / 0.8105 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.7124, allocations: 39.02 kB / 0.8105 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.7124, allocations: 2.062 kB / 0.8105 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006979/0.7131, allocations: 409.7 kB / 0.8109 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.7132, allocations: 25.2 kB / 0.8109 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.7133, allocations: 28.77 kB / 0.811 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.7135, allocations: 158.4 kB / 0.8111 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7136, allocations: 0 / 0.8111 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7136, allocations: 1.156 kB / 0.8111 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7136, allocations: 1.031 kB / 0.8111 GB, free: 10.99 MB / 0.5919 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.000463/0.714, allocations: 388.8 kB / 0.8115 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.7141, allocations: 10.98 kB / 0.8115 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.7141, allocations: 39.38 kB / 0.8115 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.7145, allocations: 36.78 kB / 0.8116 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.7147, allocations: 168.7 kB / 0.8117 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.7147, allocations: 11.12 kB / 0.8117 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.7147, allocations: 12.19 kB / 0.8118 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.7149, allocations: 75.69 kB / 0.8118 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.7149, allocations: 0 / 0.8118 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.7149, allocations: 13.25 kB / 0.8118 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.7149, allocations: 1.031 kB / 0.8118 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.715, allocations: 46.5 kB / 0.8119 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.7153, allocations: 184 kB / 0.8121 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.7154, allocations: 92.41 kB / 0.8122 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.7155, allocations: 31.02 kB / 0.8122 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.7157, allocations: 180.7 kB / 0.8124 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.7158, allocations: 31.97 kB / 0.8124 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.7158, allocations: 1.031 kB / 0.8124 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001236/0.717, allocations: 0.5544 MB / 0.8129 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.7171, allocations: 54.16 kB / 0.813 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.7172, allocations: 100.1 kB / 0.8131 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.7172, allocations: 28.2 kB / 0.8131 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.7172, allocations: 85.2 kB / 0.8132 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.7173, allocations: 70.12 kB / 0.8133 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.7174, allocations: 43.47 kB / 0.8133 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7175, allocations: 318.2 kB / 0.8136 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.7175, allocations: 35.09 kB / 0.8136 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/0.7176, allocations: 69.2 kB / 0.8137 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.7178, allocations: 114.9 kB / 0.8138 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.7178, allocations: 0 / 0.8138 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000201/0.718, allocations: 169.8 kB / 0.814 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.718, allocations: 7.375 kB / 0.814 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.718, allocations: 0 / 0.814 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.718, allocations: 10.62 kB / 0.814 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.7182, allocations: 35.94 kB / 0.814 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7182, allocations: 3.812 kB / 0.814 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.7183, allocations: 12.62 kB / 0.814 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.7183, allocations: 5.5 kB / 0.814 GB, free: 8.797 MB / 0.5919 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.409e-05/0.7184, allocations: 122.1 kB / 0.8142 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.7184, allocations: 15.59 kB / 0.8142 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.7185, allocations: 16.88 kB / 0.8142 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.7185, allocations: 3.25 kB / 0.8142 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7185, allocations: 1.375 kB / 0.8142 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7185, allocations: 3.938 kB / 0.8142 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.7187, allocations: 194.1 kB / 0.8144 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7187, allocations: 0 / 0.8144 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.7189, allocations: 45.72 kB / 0.8144 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.7189, allocations: 1 kB / 0.8144 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.7189, allocations: 0.8438 kB / 0.8144 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7189, allocations: 5.094 kB / 0.8144 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.7189, allocations: 0.9688 kB / 0.8144 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.7192, allocations: 208.3 kB / 0.8146 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.7193, allocations: 96.02 kB / 0.8147 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.7193, allocations: 4.5 kB / 0.8147 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.7194, allocations: 9.188 kB / 0.8147 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.7195, allocations: 12 kB / 0.8147 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.7195, allocations: 14.22 kB / 0.8148 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.7195, allocations: 76.59 kB / 0.8148 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7195, allocations: 0 / 0.8148 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002178/0.7198, allocations: 25.97 kB / 0.8149 GB, free: 8.207 MB / 0.5919 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.0005465/0.7203, allocations: 0.7482 MB / 0.8156 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.7205, allocations: 102.4 kB / 0.8157 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7205, allocations: 0 / 0.8157 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.7206, allocations: 59.64 kB / 0.8157 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.7209, allocations: 16.12 kB / 0.8158 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.7226, allocations: 1.833 MB / 0.8175 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.7229, allocations: 0.6983 MB / 0.8182 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.723, allocations: 33.17 kB / 0.8183 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.723, allocations: 25.59 kB / 0.8183 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.723, allocations: 0 / 0.8183 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.7424, allocations: 2.414 MB / 0.8206 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.999, allocations: 9.094 kB / 0.8207 GB, free: 4.23 MB / 0.5919 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)