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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7579/0.7579, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.735/1.735, allocations: 221.3 MB / 400.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 97.56 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.181e-05, allocations: 2.625 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.057/5.219, allocations: 1.707 GB / 2.348 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/5.219, allocations: 70.78 kB / 2.348 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06319/5.282, allocations: 29.7 MB / 2.377 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.453e-06/5.282, allocations: 0 / 2.377 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.484e-05/5.282, allocations: 0 / 2.377 GB, free: 162.6 MB / 0.6823 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.0005818/5.283, allocations: 374.3 kB / 2.377 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.171e-05/5.283, allocations: 15.97 kB / 2.377 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/5.283, allocations: 38.06 kB / 2.377 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004233/5.283, allocations: 43.66 kB / 2.377 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/5.284, allocations: 171 kB / 2.377 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/5.284, allocations: 4 kB / 2.377 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/5.284, allocations: 11.47 kB / 2.377 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/5.284, allocations: 76.34 kB / 2.378 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/5.284, allocations: 3.984 kB / 2.378 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/5.284, allocations: 3.688 kB / 2.378 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/5.284, allocations: 7.953 kB / 2.378 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/5.284, allocations: 42.97 kB / 2.378 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/5.284, allocations: 180.2 kB / 2.378 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/5.285, allocations: 85.38 kB / 2.378 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/5.285, allocations: 28.11 kB / 2.378 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/5.285, allocations: 174.2 kB / 2.378 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/5.285, allocations: 38.44 kB / 2.378 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 3.036e-06/5.285, allocations: 0 / 2.378 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001368/5.286, allocations: 0.5172 MB / 2.379 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/5.286, allocations: 55.36 kB / 2.379 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/5.286, allocations: 93 kB / 2.379 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/5.286, allocations: 29.58 kB / 2.379 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/5.287, allocations: 84.52 kB / 2.379 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/5.287, allocations: 73.55 kB / 2.379 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-06/5.287, allocations: 3.75 kB / 2.379 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/5.287, allocations: 318.8 kB / 2.379 GB, free: 160 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.338e-05/5.287, allocations: 31.25 kB / 2.379 GB, free: 160 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/5.287, allocations: 69.98 kB / 2.379 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.079e-05/5.287, allocations: 42.92 kB / 2.379 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/5.287, allocations: 3.938 kB / 2.379 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002164/5.287, allocations: 154.6 kB / 2.38 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/5.287, allocations: 4.938 kB / 2.38 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/5.287, allocations: 0 / 2.38 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/5.287, allocations: 4 kB / 2.38 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/5.287, allocations: 39.92 kB / 2.38 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/5.287, allocations: 4 kB / 2.38 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/5.288, allocations: 15.69 kB / 2.38 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/5.288, allocations: 4 kB / 2.38 GB, free: 159.7 MB / 0.6823 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 () * 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 8.347e-05/5.288, allocations: 119.9 kB / 2.38 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/5.288, allocations: 8.031 kB / 2.38 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/5.288, allocations: 15.22 kB / 2.38 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/5.288, allocations: 8 kB / 2.38 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/5.288, allocations: 0 / 2.38 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/5.288, allocations: 3.938 kB / 2.38 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/5.288, allocations: 200 kB / 2.38 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/5.288, allocations: 0 / 2.38 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/5.288, allocations: 39.73 kB / 2.38 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/5.288, allocations: 0 / 2.38 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/5.288, allocations: 7.609 kB / 2.38 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/5.288, allocations: 0 / 2.38 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/5.288, allocations: 4 kB / 2.38 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/5.289, allocations: 201.3 kB / 2.38 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/5.289, allocations: 95.44 kB / 2.38 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/5.289, allocations: 6.188 kB / 2.38 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/5.289, allocations: 10.55 kB / 2.38 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/5.289, allocations: 11.98 kB / 2.38 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/5.289, allocations: 6.625 kB / 2.38 GB, free: 159 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.493e-05/5.289, allocations: 77.91 kB / 2.38 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.289, allocations: 0 / 2.38 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004107/5.289, allocations: 64.67 kB / 2.38 GB, free: 158.9 MB / 0.6823 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 () * 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.001186/5.29, allocations: 1.199 MB / 2.382 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002064/5.291, allocations: 104.2 kB / 2.382 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/5.291, allocations: 0 / 2.382 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.561e-05/5.291, allocations: 53.98 kB / 2.382 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/5.291, allocations: 11.38 kB / 2.382 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/5.292, allocations: 0.5166 MB / 2.382 GB, free: 157 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/5.292, allocations: 0.7088 MB / 2.383 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002075/5.292, allocations: 20.77 kB / 2.383 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/5.292, allocations: 22.88 kB / 2.383 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.884e-06/5.292, allocations: 0 / 2.383 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/5.32, allocations: 12.85 MB / 2.396 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/5.32, allocations: 131.5 kB / 2.396 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/7.355, allocations: 0 / 2.396 GB, free: 143.3 MB / 0.6823 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)