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.005167/0.005167, allocations: 106 kB / 15.74 MB, free: 6.02 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.001442/0.001442, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8289/0.8289, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.08 kB / 0.5808 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1502, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002315/0.1526, allocations: 1.335 MB / 0.6605 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5487/0.7013, allocations: 148.1 MB / 0.8051 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.7014, allocations: 0 / 0.8051 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.7014, allocations: 6.234 kB / 0.8051 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.7016, allocations: 11.53 kB / 0.8051 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.7028, allocations: 335.4 kB / 0.8054 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.7029, allocations: 58.89 kB / 0.8055 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.703, allocations: 2.656 kB / 0.8055 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.071e-05/0.703, allocations: 29.75 kB / 0.8055 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.7031, allocations: 35.23 kB / 0.8055 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.7032, allocations: 7.531 kB / 0.8056 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.7042, allocations: 407.2 kB / 0.8059 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.7043, allocations: 22.03 kB / 0.806 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.7043, allocations: 27 kB / 0.806 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.7047, allocations: 161.2 kB / 0.8061 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7048, allocations: 0 / 0.8061 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7048, allocations: 2.156 kB / 0.8061 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7048, allocations: 1.281 kB / 0.8061 GB, free: 11.44 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.0006302/0.7054, allocations: 391.2 kB / 0.8065 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.7055, allocations: 10.12 kB / 0.8065 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.7055, allocations: 39.95 kB / 0.8066 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/0.7061, allocations: 33.89 kB / 0.8066 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.7063, allocations: 172.6 kB / 0.8068 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.7063, allocations: 7.438 kB / 0.8068 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.7064, allocations: 14.77 kB / 0.8068 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.7066, allocations: 81.58 kB / 0.8069 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.7066, allocations: 0 / 0.8069 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.7066, allocations: 2.125 kB / 0.8069 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7066, allocations: 1.031 kB / 0.8069 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.7068, allocations: 44.7 kB / 0.8069 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.707, allocations: 196.3 kB / 0.8071 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.7073, allocations: 92.17 kB / 0.8072 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.7074, allocations: 31.08 kB / 0.8072 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.7077, allocations: 175.6 kB / 0.8074 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.7077, allocations: 38.91 kB / 0.8074 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.7078, allocations: 1.375 kB / 0.8074 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001701/0.7095, allocations: 0.5405 MB / 0.8079 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.7095, allocations: 58.06 kB / 0.808 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.7096, allocations: 106.6 kB / 0.8081 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.7097, allocations: 35.64 kB / 0.8081 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.7097, allocations: 84.45 kB / 0.8082 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/0.7098, allocations: 74.88 kB / 0.8083 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.7099, allocations: 38.81 kB / 0.8083 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.7101, allocations: 321.2 kB / 0.8086 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.7102, allocations: 35.91 kB / 0.8087 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.7103, allocations: 67 kB / 0.8087 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.7106, allocations: 116.3 kB / 0.8088 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7106, allocations: 0 / 0.8088 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002981/0.7109, allocations: 160.3 kB / 0.809 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7109, allocations: 3.5 kB / 0.809 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.7109, allocations: 1.406 kB / 0.809 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7109, allocations: 2.844 kB / 0.809 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.7112, allocations: 44.52 kB / 0.809 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7112, allocations: 0 / 0.809 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.7113, allocations: 11.31 kB / 0.8091 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.7113, allocations: 8.906 kB / 0.8091 GB, free: 9.246 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 0.0001392/0.7115, allocations: 125.3 kB / 0.8092 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.7115, allocations: 8.641 kB / 0.8092 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.7116, allocations: 14.69 kB / 0.8092 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7116, allocations: 3.406 kB / 0.8092 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7116, allocations: 0 / 0.8092 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.7116, allocations: 13.7 kB / 0.8092 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.7119, allocations: 193.1 kB / 0.8094 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7119, allocations: 0 / 0.8094 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.7121, allocations: 38.81 kB / 0.8094 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7122, allocations: 1.594 kB / 0.8094 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.7122, allocations: 6.344 kB / 0.8094 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7122, allocations: 0 / 0.8094 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7122, allocations: 0 / 0.8094 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.7126, allocations: 209.5 kB / 0.8096 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.7128, allocations: 98.22 kB / 0.8097 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.7128, allocations: 2.531 kB / 0.8097 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.713, allocations: 8.25 kB / 0.8098 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.713, allocations: 15.2 kB / 0.8098 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.7131, allocations: 5.344 kB / 0.8098 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.496e-05/0.7131, allocations: 80.23 kB / 0.8098 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7131, allocations: 3.938 kB / 0.8099 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003413/0.7135, allocations: 29.09 kB / 0.8099 GB, free: 8.656 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.0008225/0.7143, allocations: 0.7514 MB / 0.8106 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.7146, allocations: 109.7 kB / 0.8107 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7146, allocations: 0 / 0.8107 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.7147, allocations: 56.97 kB / 0.8108 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.7151, allocations: 22.67 kB / 0.8108 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.7178, allocations: 1.815 MB / 0.8126 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.7182, allocations: 0.6981 MB / 0.8132 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.7184, allocations: 24.17 kB / 0.8133 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.7185, allocations: 23.92 kB / 0.8133 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of SimCode: time 4.6e-07/0.7185, allocations: 0 / 0.8133 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.7477, allocations: 2.407 MB / 0.8156 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.792, allocations: 10.77 kB / 0.8157 GB, free: 5.152 MB / 0.5919 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)