Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.2 MB / 303.2 MB, free: 8.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 179.2 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008892/0.0008891, allocations: 96.27 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 10.5 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1908, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001018/0.1919, allocations: 1.02 MB / 0.9805 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5386/0.7305, allocations: 125.2 MB / 1.103 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.7306, allocations: 0 / 1.103 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.656e-05/0.7307, allocations: 6.141 kB / 1.103 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.7308, allocations: 13.19 kB / 1.103 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000995/0.7318, allocations: 239.3 kB / 1.103 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.7319, allocations: 42.39 kB / 1.103 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.7319, allocations: 5.094 kB / 1.103 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.732, allocations: 24.84 kB / 1.103 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.7321, allocations: 35.42 kB / 1.103 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.7321, allocations: 3.875 kB / 1.103 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007824/0.7329, allocations: 283.3 kB / 1.103 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.733, allocations: 16.67 kB / 1.103 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.7331, allocations: 37.42 kB / 1.103 GB, free: 18.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.7334, allocations: 103 kB / 1.103 GB, free: 18.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.7334, allocations: 1.5 kB / 1.103 GB, free: 18.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7334, allocations: 0 / 1.103 GB, free: 18.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7334, allocations: 0 / 1.103 GB, free: 18.54 MB / 0.698 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.0004506/0.7339, allocations: 372.7 kB / 1.104 GB, free: 18.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.7339, allocations: 13.61 kB / 1.104 GB, free: 18.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.734, allocations: 38.39 kB / 1.104 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.7344, allocations: 38.36 kB / 1.104 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.7346, allocations: 166.8 kB / 1.104 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7346, allocations: 5.875 kB / 1.104 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.7346, allocations: 12.56 kB / 1.104 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.7348, allocations: 79.84 kB / 1.104 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7349, allocations: 0 / 1.104 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.7349, allocations: 5.188 kB / 1.104 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7349, allocations: 1.156 kB / 1.104 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.735, allocations: 53.08 kB / 1.104 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.7352, allocations: 183.7 kB / 1.104 GB, free: 17.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.7354, allocations: 92.09 kB / 1.104 GB, free: 17.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.7355, allocations: 12.48 kB / 1.104 GB, free: 17.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.7356, allocations: 35.91 kB / 1.105 GB, free: 17.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.7356, allocations: 0.9688 kB / 1.105 GB, free: 17.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001418/0.737, allocations: 0.5415 MB / 1.105 GB, free: 17.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.737, allocations: 53.81 kB / 1.105 GB, free: 17.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/0.7371, allocations: 101 kB / 1.105 GB, free: 17.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.7371, allocations: 30.05 kB / 1.105 GB, free: 17.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.7372, allocations: 80.52 kB / 1.105 GB, free: 17.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.7372, allocations: 72.11 kB / 1.105 GB, free: 17.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.7373, allocations: 2.875 kB / 1.105 GB, free: 17.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7374, allocations: 324.1 kB / 1.106 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.7375, allocations: 32.69 kB / 1.106 GB, free: 16.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.824e-05/0.7376, allocations: 66.55 kB / 1.106 GB, free: 16.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/0.7376, allocations: 45.56 kB / 1.106 GB, free: 16.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7377, allocations: 1.453 kB / 1.106 GB, free: 16.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002277/0.7379, allocations: 158.8 kB / 1.106 GB, free: 16.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.7379, allocations: 7.969 kB / 1.106 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7379, allocations: 1.031 kB / 1.106 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.7379, allocations: 6.094 kB / 1.106 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.7381, allocations: 38.27 kB / 1.106 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.7381, allocations: 6.062 kB / 1.106 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.7382, allocations: 8.766 kB / 1.106 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.7382, allocations: 8.594 kB / 1.106 GB, free: 16.61 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.7383, allocations: 117.6 kB / 1.106 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.7384, allocations: 11.94 kB / 1.106 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.7384, allocations: 15.98 kB / 1.106 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7384, allocations: 6.75 kB / 1.106 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.7385, allocations: 0 / 1.106 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7385, allocations: 2.156 kB / 1.106 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.7386, allocations: 197.4 kB / 1.106 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.7386, allocations: 3.938 kB / 1.106 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.7388, allocations: 34.31 kB / 1.106 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7389, allocations: 1.344 kB / 1.106 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.7389, allocations: 6.359 kB / 1.106 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7389, allocations: 0.875 kB / 1.106 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7389, allocations: 4.938 kB / 1.106 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.7392, allocations: 215.9 kB / 1.107 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.7393, allocations: 90.05 kB / 1.107 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.7394, allocations: 6.422 kB / 1.107 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.7395, allocations: 7.062 kB / 1.107 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.7395, allocations: 10.16 kB / 1.107 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.7395, allocations: 12.47 kB / 1.107 GB, free: 16.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.7396, allocations: 78.06 kB / 1.107 GB, free: 16.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7396, allocations: 4.094 kB / 1.107 GB, free: 16.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002389/0.7398, allocations: 28.62 kB / 1.107 GB, free: 16.03 MB / 0.698 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 (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.0005866/0.7404, allocations: 0.7505 MB / 1.108 GB, free: 15.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.7406, allocations: 104.4 kB / 1.108 GB, free: 15.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7407, allocations: 1.25 kB / 1.108 GB, free: 15.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.7407, allocations: 57.39 kB / 1.108 GB, free: 15.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.7409, allocations: 10.97 kB / 1.108 GB, free: 15.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.7424, allocations: 1.461 MB / 1.109 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.7427, allocations: 0.7059 MB / 1.11 GB, free: 13.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.7428, allocations: 20.95 kB / 1.11 GB, free: 13.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.7429, allocations: 22.69 kB / 1.11 GB, free: 13.58 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.7429, allocations: 0 / 1.11 GB, free: 13.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.595/3.338, allocations: 2.121 MB / 1.112 GB, free: 13.36 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/3.338, allocations: 183.6 kB / 1.112 GB, free: 13.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.369/4.707, allocations: 0 / 1.112 GB, free: 13.12 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)