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.005514/0.005514, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001382/0.001382, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8824/0.8824, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 66.36 kB / 0.5857 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1799, allocations: 81.01 MB / 0.6648 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.003073/0.1831, allocations: 1.335 MB / 0.6661 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.529/0.7121, allocations: 148.1 MB / 0.8107 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.7121, allocations: 0 / 0.8107 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.7122, allocations: 3.938 kB / 0.8108 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.7123, allocations: 20.25 kB / 0.8108 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008545/0.7132, allocations: 330.4 kB / 0.8111 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.65e-05/0.7133, allocations: 66.38 kB / 0.8111 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.7133, allocations: 2.906 kB / 0.8112 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.7134, allocations: 35.3 kB / 0.8112 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.7135, allocations: 36.92 kB / 0.8112 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.7135, allocations: 3.75 kB / 0.8112 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007467/0.7143, allocations: 407.5 kB / 0.8116 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.7143, allocations: 20.27 kB / 0.8116 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.7144, allocations: 28.31 kB / 0.8117 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.7147, allocations: 160.8 kB / 0.8118 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7147, allocations: 2.344 kB / 0.8118 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7147, allocations: 0 / 0.8118 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7147, allocations: 0 / 0.8118 GB, free: 10.86 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.0004868/0.7152, allocations: 393.6 kB / 0.8122 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7152, allocations: 11.67 kB / 0.8122 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.7153, allocations: 38.45 kB / 0.8122 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003884/0.7157, allocations: 35.91 kB / 0.8123 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.7158, allocations: 170 kB / 0.8124 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.7158, allocations: 10.19 kB / 0.8124 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.7159, allocations: 8.656 kB / 0.8125 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.716, allocations: 82.69 kB / 0.8125 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.7161, allocations: 1.125 kB / 0.8125 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.7161, allocations: 4.938 kB / 0.8125 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7161, allocations: 1.375 kB / 0.8125 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.7162, allocations: 45.77 kB / 0.8126 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.7164, allocations: 186.8 kB / 0.8128 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.7166, allocations: 89.53 kB / 0.8128 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.7167, allocations: 37.22 kB / 0.8129 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.7169, allocations: 173.8 kB / 0.813 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.717, allocations: 37.03 kB / 0.8131 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.717, allocations: 0 / 0.8131 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001352/0.7183, allocations: 0.5575 MB / 0.8136 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.7184, allocations: 53.34 kB / 0.8137 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.7185, allocations: 104.2 kB / 0.8138 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.7185, allocations: 30.61 kB / 0.8138 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.7185, allocations: 80.64 kB / 0.8139 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.7186, allocations: 76.58 kB / 0.814 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.7187, allocations: 40.88 kB / 0.814 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7188, allocations: 320 kB / 0.8143 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.7189, allocations: 35.48 kB / 0.8143 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.719, allocations: 69.2 kB / 0.8144 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.7192, allocations: 118.9 kB / 0.8145 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.7192, allocations: 0 / 0.8145 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002136/0.7194, allocations: 159.7 kB / 0.8147 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.7194, allocations: 13.31 kB / 0.8147 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7194, allocations: 1.469 kB / 0.8147 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7194, allocations: 1.281 kB / 0.8147 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.7196, allocations: 38.81 kB / 0.8147 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.7196, allocations: 3.953 kB / 0.8147 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.7197, allocations: 10.38 kB / 0.8147 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.7197, allocations: 6.703 kB / 0.8147 GB, free: 8.656 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.6e-05/0.7198, allocations: 126.1 kB / 0.8149 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.7198, allocations: 9.453 kB / 0.8149 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.7199, allocations: 18.19 kB / 0.8149 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7199, allocations: 2.75 kB / 0.8149 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7199, allocations: 0 / 0.8149 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.7199, allocations: 8.031 kB / 0.8149 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.7201, allocations: 191.2 kB / 0.8151 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7201, allocations: 1.375 kB / 0.8151 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.7203, allocations: 38.55 kB / 0.8151 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.7203, allocations: 5.375 kB / 0.8151 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.7203, allocations: 7.094 kB / 0.8151 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7203, allocations: 0 / 0.8151 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7203, allocations: 1.375 kB / 0.8151 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.7206, allocations: 206.9 kB / 0.8153 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.7207, allocations: 92.03 kB / 0.8154 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.7207, allocations: 8.828 kB / 0.8154 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.7209, allocations: 11.62 kB / 0.8154 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.7209, allocations: 20.88 kB / 0.8155 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.7209, allocations: 6.703 kB / 0.8155 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.83e-05/0.721, allocations: 78.03 kB / 0.8155 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.721, allocations: 0 / 0.8155 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002214/0.7212, allocations: 28.88 kB / 0.8156 GB, free: 8.062 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.0005992/0.7218, allocations: 0.745 MB / 0.8163 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.722, allocations: 107.2 kB / 0.8164 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.722, allocations: 0 / 0.8164 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.7221, allocations: 54.98 kB / 0.8164 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.7224, allocations: 18.86 kB / 0.8165 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.7242, allocations: 1.833 MB / 0.8183 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.7246, allocations: 0.7058 MB / 0.8189 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.7247, allocations: 22.88 kB / 0.819 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.7247, allocations: 21.66 kB / 0.819 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.7247, allocations: 0 / 0.819 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.7491, allocations: 2.42 MB / 0.8213 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/9.13, allocations: 8 kB / 0.8214 GB, free: 4.016 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)