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.001499/0.001499, allocations: 110.9 kB / 16.41 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.001717/0.001717, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.777/0.777, allocations: 126.1 MB / 417.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 58.77 kB / 0.5726 GB, free: 27.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.133, allocations: 78.7 MB / 0.6494 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002237/0.1353, allocations: 1.327 MB / 0.6507 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4766/0.6119, allocations: 148.1 MB / 0.7953 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.612, allocations: 1.125 kB / 0.7953 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.6121, allocations: 6.094 kB / 0.7953 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.6122, allocations: 14.61 kB / 0.7954 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.613, allocations: 336.7 kB / 0.7957 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.6132, allocations: 69.23 kB / 0.7957 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.6132, allocations: 6.312 kB / 0.7957 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.6133, allocations: 37.62 kB / 0.7958 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.6133, allocations: 30.17 kB / 0.7958 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.6134, allocations: 3.688 kB / 0.7958 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007656/0.6141, allocations: 412.8 kB / 0.7962 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.6142, allocations: 13.53 kB / 0.7962 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.6143, allocations: 34.16 kB / 0.7963 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.6146, allocations: 153.7 kB / 0.7964 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6146, allocations: 0 / 0.7964 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.106e-06/0.6146, allocations: 0 / 0.7964 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6146, allocations: 3.938 kB / 0.7964 GB, free: 12.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.0004336/0.615, allocations: 392 kB / 0.7968 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6151, allocations: 9 kB / 0.7968 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.6151, allocations: 42.72 kB / 0.7968 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.6155, allocations: 43.91 kB / 0.7969 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.6156, allocations: 170.7 kB / 0.797 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.6157, allocations: 6.75 kB / 0.797 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.6157, allocations: 8.812 kB / 0.797 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.6159, allocations: 79.91 kB / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.6159, allocations: 0 / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.6159, allocations: 1.25 kB / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6159, allocations: 1.188 kB / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.616, allocations: 51.83 kB / 0.7972 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.6162, allocations: 189.1 kB / 0.7974 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.6164, allocations: 92.09 kB / 0.7974 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.6165, allocations: 31.58 kB / 0.7975 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.6167, allocations: 178.3 kB / 0.7976 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.6167, allocations: 36.34 kB / 0.7977 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.6167, allocations: 0 / 0.7977 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001242/0.618, allocations: 0.5564 MB / 0.7982 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.618, allocations: 54.19 kB / 0.7983 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.6181, allocations: 102.3 kB / 0.7984 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.6181, allocations: 31.67 kB / 0.7984 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.6182, allocations: 84.45 kB / 0.7985 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.6182, allocations: 74.34 kB / 0.7986 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.6183, allocations: 39.94 kB / 0.7986 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6184, allocations: 323 kB / 0.7989 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.6185, allocations: 37.95 kB / 0.7989 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.6185, allocations: 66.66 kB / 0.799 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.6187, allocations: 117.9 kB / 0.7991 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6187, allocations: 0 / 0.7991 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002034/0.6189, allocations: 156 kB / 0.7993 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6189, allocations: 13.75 kB / 0.7993 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6189, allocations: 1.344 kB / 0.7993 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.619, allocations: 2.875 kB / 0.7993 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.6191, allocations: 39.09 kB / 0.7993 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6191, allocations: 1.156 kB / 0.7993 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.6192, allocations: 10.06 kB / 0.7993 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.6192, allocations: 8.031 kB / 0.7993 GB, free: 10.66 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.725e-05/0.6193, allocations: 126 kB / 0.7995 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.6194, allocations: 10.88 kB / 0.7995 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.6194, allocations: 18.81 kB / 0.7995 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6194, allocations: 2.969 kB / 0.7995 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6194, allocations: 0 / 0.7995 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6195, allocations: 9.359 kB / 0.7995 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.6196, allocations: 195.6 kB / 0.7997 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6196, allocations: 2.219 kB / 0.7997 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.6198, allocations: 38.89 kB / 0.7997 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6198, allocations: 1.094 kB / 0.7997 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.6198, allocations: 4.719 kB / 0.7997 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6199, allocations: 0 / 0.7997 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6199, allocations: 2.688 kB / 0.7997 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.6201, allocations: 208.4 kB / 0.7999 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.6202, allocations: 95.38 kB / 0.8 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.6203, allocations: 1.312 kB / 0.8 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.6204, allocations: 10.03 kB / 0.8 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.6204, allocations: 21.31 kB / 0.8 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.6204, allocations: 3.781 kB / 0.8 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.6205, allocations: 81.53 kB / 0.8001 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6205, allocations: 0 / 0.8001 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002218/0.6207, allocations: 31.09 kB / 0.8002 GB, free: 10.08 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.0005042/0.6212, allocations: 0.7526 MB / 0.8009 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.6214, allocations: 114.9 kB / 0.801 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6214, allocations: 0 / 0.801 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.263e-05/0.6215, allocations: 49.31 kB / 0.801 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.6218, allocations: 20.59 kB / 0.8011 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.6235, allocations: 1.823 MB / 0.8028 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.6237, allocations: 0.7053 MB / 0.8035 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.6238, allocations: 32.19 kB / 0.8036 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.6239, allocations: 27.09 kB / 0.8036 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6239, allocations: 0 / 0.8036 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.6418, allocations: 2.417 MB / 0.806 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/8.128, allocations: 13.55 kB / 0.806 GB, free: 6.863 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)