Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.007673/0.007673, allocations: 100.9 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.001861/0.001861, allocations: 192.4 kB / 16.67 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.925/0.925, allocations: 143.3 MB / 433.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 68.55 kB / 0.5953 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1914, allocations: 82.04 MB / 0.6754 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002604/0.194, allocations: 1.339 MB / 0.6767 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6303/0.8243, allocations: 148.1 MB / 0.8213 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.8244, allocations: 0 / 0.8213 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.8245, allocations: 0 / 0.8213 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.8247, allocations: 18.59 kB / 0.8213 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.8259, allocations: 328 kB / 0.8217 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.826, allocations: 64.39 kB / 0.8217 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.8261, allocations: 6.578 kB / 0.8217 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.8261, allocations: 30.75 kB / 0.8217 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.8262, allocations: 32.44 kB / 0.8218 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.8263, allocations: 2.875 kB / 0.8218 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.8272, allocations: 414 kB / 0.8222 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.8273, allocations: 16.86 kB / 0.8222 GB, free: 368 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.8274, allocations: 22.36 kB / 0.8222 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.8279, allocations: 163.7 kB / 0.8224 GB, free: 272 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8279, allocations: 3.156 kB / 0.8224 GB, free: 272 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8279, allocations: 0 / 0.8224 GB, free: 272 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.8279, allocations: 0 / 0.8224 GB, free: 272 kB / 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.0005677/0.8285, allocations: 387.9 kB / 0.8227 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.8285, allocations: 14.31 kB / 0.8228 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.8286, allocations: 44.7 kB / 0.8228 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/0.8291, allocations: 37.02 kB / 0.8228 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.8292, allocations: 174.4 kB / 0.823 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.8292, allocations: 8.031 kB / 0.823 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.8293, allocations: 9.344 kB / 0.823 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.8295, allocations: 78.78 kB / 0.8231 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.8295, allocations: 0 / 0.8231 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.8295, allocations: 6.094 kB / 0.8231 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8296, allocations: 4 kB / 0.8231 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.559e-05/0.8297, allocations: 43.45 kB / 0.8231 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.8299, allocations: 193.2 kB / 0.8233 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.8301, allocations: 83.17 kB / 0.8234 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.8301, allocations: 36.61 kB / 0.8234 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.8304, allocations: 178.5 kB / 0.8236 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.8305, allocations: 33.16 kB / 0.8236 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.8305, allocations: 0 / 0.8236 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.00143/0.8319, allocations: 0.5512 MB / 0.8242 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.832, allocations: 58.05 kB / 0.8242 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.8321, allocations: 100.5 kB / 0.8243 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.8321, allocations: 36.3 kB / 0.8244 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.8322, allocations: 80.52 kB / 0.8244 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.8322, allocations: 71.38 kB / 0.8245 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.8323, allocations: 43.12 kB / 0.8246 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8325, allocations: 325.5 kB / 0.8249 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-05/0.8325, allocations: 33.33 kB / 0.8249 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/0.8326, allocations: 76.72 kB / 0.825 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.8328, allocations: 113.3 kB / 0.8251 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.8328, allocations: 0 / 0.8251 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002344/0.833, allocations: 163.7 kB / 0.8252 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8331, allocations: 4.812 kB / 0.8252 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.8331, allocations: 2.844 kB / 0.8252 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8331, allocations: 0 / 0.8252 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.8332, allocations: 36.42 kB / 0.8253 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.8333, allocations: 10.19 kB / 0.8253 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.8333, allocations: 7.938 kB / 0.8253 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.8333, allocations: 11.47 kB / 0.8253 GB, free: 13.59 MB / 0.6075 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.22e-05/0.8334, allocations: 114.9 kB / 0.8254 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.8335, allocations: 12.86 kB / 0.8254 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.8335, allocations: 23.17 kB / 0.8254 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8335, allocations: 0 / 0.8254 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8335, allocations: 2.562 kB / 0.8255 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8335, allocations: 3.938 kB / 0.8255 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.8337, allocations: 193.4 kB / 0.8256 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.8337, allocations: 3.938 kB / 0.8256 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.8339, allocations: 34.58 kB / 0.8257 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.8339, allocations: 3.984 kB / 0.8257 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.8339, allocations: 5.781 kB / 0.8257 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8339, allocations: 0 / 0.8257 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.834, allocations: 9.875 kB / 0.8257 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.8343, allocations: 213.2 kB / 0.8259 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.8344, allocations: 93.05 kB / 0.826 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.8344, allocations: 0 / 0.826 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.8345, allocations: 11.08 kB / 0.826 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.8346, allocations: 15.42 kB / 0.826 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.8346, allocations: 6.156 kB / 0.826 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.8346, allocations: 82.66 kB / 0.8261 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8346, allocations: 0 / 0.8261 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002152/0.8349, allocations: 28.72 kB / 0.8261 GB, free: 12.86 MB / 0.6075 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.0006198/0.8355, allocations: 0.7551 MB / 0.8269 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.8357, allocations: 101.3 kB / 0.827 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8357, allocations: 0 / 0.827 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.8358, allocations: 55.83 kB / 0.827 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.8361, allocations: 20.86 kB / 0.827 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.838, allocations: 1.823 MB / 0.8288 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.8383, allocations: 0.6966 MB / 0.8295 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000102/0.8384, allocations: 22.89 kB / 0.8295 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.8384, allocations: 23.33 kB / 0.8295 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.8384, allocations: 0 / 0.8295 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.8693, allocations: 2.438 MB / 0.8319 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.656, allocations: 16.92 kB / 0.8319 GB, free: 8.488 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)