Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.002302/0.002311, allocations: 103 kB / 16.4 MB, free: 6.496 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.002669/0.00267, allocations: 197.3 kB / 17.34 MB, free: 5.766 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.764/1.764, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9143/0.9143, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 66.19 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1984, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.003976/0.2025, allocations: 1.32 MB / 0.6329 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6868/0.8893, allocations: 148.1 MB / 0.7775 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.8894, allocations: 4.5 kB / 0.7775 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/0.8895, allocations: 6.094 kB / 0.7775 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.8896, allocations: 13.14 kB / 0.7775 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009999/0.8907, allocations: 334.3 kB / 0.7778 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.8908, allocations: 64.16 kB / 0.7779 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.8908, allocations: 7.234 kB / 0.7779 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.439e-05/0.8909, allocations: 35.02 kB / 0.7779 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.891, allocations: 30.23 kB / 0.7779 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.8911, allocations: 4.281 kB / 0.7779 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.8919, allocations: 408.2 kB / 0.7783 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.892, allocations: 17.88 kB / 0.7783 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.892, allocations: 28.97 kB / 0.7784 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.8924, allocations: 161.5 kB / 0.7785 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.8924, allocations: 4 kB / 0.7785 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8924, allocations: 0 / 0.7785 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.8924, allocations: 0 / 0.7785 GB, free: 14.08 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.0004975/0.8929, allocations: 386.2 kB / 0.7789 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.893, allocations: 9.844 kB / 0.7789 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.893, allocations: 36.75 kB / 0.7789 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.8934, allocations: 36.86 kB / 0.779 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.8935, allocations: 173.6 kB / 0.7791 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.8936, allocations: 10.47 kB / 0.7792 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.8936, allocations: 12.05 kB / 0.7792 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.8938, allocations: 74.33 kB / 0.7792 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.8938, allocations: 3.938 kB / 0.7792 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.8939, allocations: 5.25 kB / 0.7792 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.8939, allocations: 1.188 kB / 0.7792 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.894, allocations: 45 kB / 0.7793 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.8943, allocations: 190 kB / 0.7795 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.8945, allocations: 95.39 kB / 0.7796 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.8946, allocations: 30.47 kB / 0.7796 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002839/0.8949, allocations: 175.3 kB / 0.7798 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.8949, allocations: 36.25 kB / 0.7798 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 2.265e-06/0.895, allocations: 4 kB / 0.7798 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001497/0.8965, allocations: 0.5474 MB / 0.7803 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.8965, allocations: 53.84 kB / 0.7804 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.8966, allocations: 103.3 kB / 0.7805 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.8966, allocations: 30.33 kB / 0.7805 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.8967, allocations: 84.2 kB / 0.7806 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.8967, allocations: 71.03 kB / 0.7807 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.8968, allocations: 39.27 kB / 0.7807 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.897, allocations: 322.8 kB / 0.781 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/0.897, allocations: 35.42 kB / 0.781 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.8972, allocations: 77.16 kB / 0.7811 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.8973, allocations: 113.2 kB / 0.7812 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8974, allocations: 0 / 0.7812 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002546/0.8976, allocations: 159.6 kB / 0.7814 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.8976, allocations: 5.875 kB / 0.7814 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.8977, allocations: 0 / 0.7814 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.8977, allocations: 6.625 kB / 0.7814 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.8979, allocations: 37.98 kB / 0.7814 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.8979, allocations: 6.531 kB / 0.7814 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.8979, allocations: 9.984 kB / 0.7814 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.898, allocations: 7.828 kB / 0.7814 GB, free: 11.9 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.0001123/0.8981, allocations: 125.8 kB / 0.7816 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.8981, allocations: 5.562 kB / 0.7816 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.8982, allocations: 18.12 kB / 0.7816 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.8982, allocations: 2.406 kB / 0.7816 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.8982, allocations: 1.219 kB / 0.7816 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.8982, allocations: 9.719 kB / 0.7816 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.8984, allocations: 191.6 kB / 0.7818 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8984, allocations: 2.531 kB / 0.7818 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.8986, allocations: 36.95 kB / 0.7818 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8986, allocations: 2.156 kB / 0.7818 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.8986, allocations: 6.844 kB / 0.7818 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8986, allocations: 1.094 kB / 0.7818 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8987, allocations: 3.938 kB / 0.7818 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.899, allocations: 218.7 kB / 0.782 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.8991, allocations: 91.34 kB / 0.7821 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.8991, allocations: 5.062 kB / 0.7821 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.8993, allocations: 10.48 kB / 0.7821 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.8993, allocations: 13.92 kB / 0.7822 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.8993, allocations: 7.172 kB / 0.7822 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.8994, allocations: 81.64 kB / 0.7822 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8994, allocations: 0 / 0.7822 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002368/0.8996, allocations: 24.78 kB / 0.7823 GB, free: 11.31 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.0006703/0.9003, allocations: 0.7555 MB / 0.783 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.9006, allocations: 106.2 kB / 0.7831 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.9006, allocations: 1.25 kB / 0.7831 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/0.9007, allocations: 59.06 kB / 0.7832 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.9009, allocations: 15.89 kB / 0.7832 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.903, allocations: 1.823 MB / 0.785 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.9034, allocations: 0.7031 MB / 0.7856 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000126/0.9035, allocations: 18.58 kB / 0.7857 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.9036, allocations: 27.88 kB / 0.7857 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of SimCode: time 9.01e-07/0.9036, allocations: 0 / 0.7857 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.929, allocations: 2.452 MB / 0.7881 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.96, allocations: 13.58 kB / 0.7881 GB, free: 8.105 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)