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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0008424/0.0008425, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005045/0.005045, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9458/0.9458, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 12 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 83.41 MB / 0.5979 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001182/0.1447, allocations: 1.056 MB / 0.599 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3781/0.5228, allocations: 144.2 MB / 0.7398 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.5229, allocations: 0 / 0.7398 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.5229, allocations: 2.156 kB / 0.7398 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.523, allocations: 17.12 kB / 0.7399 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007741/0.5238, allocations: 304 kB / 0.7402 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.5239, allocations: 82.34 kB / 0.7402 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.524, allocations: 3.281 kB / 0.7402 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.524, allocations: 35.34 kB / 0.7403 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.5241, allocations: 36.09 kB / 0.7403 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.5241, allocations: 3.781 kB / 0.7403 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008054/0.525, allocations: 0.4896 MB / 0.7408 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.525, allocations: 17.06 kB / 0.7408 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.5251, allocations: 55.95 kB / 0.7409 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.5254, allocations: 184.8 kB / 0.741 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5254, allocations: 1.656 kB / 0.741 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5254, allocations: 0 / 0.741 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.5254, allocations: 0 / 0.741 GB, free: 5.602 MB / 0.5606 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.0003604/0.5258, allocations: 373.2 kB / 0.7414 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5258, allocations: 10.03 kB / 0.7414 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.5258, allocations: 38.59 kB / 0.7414 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.5262, allocations: 44.61 kB / 0.7415 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.051e-05/0.5263, allocations: 167.1 kB / 0.7416 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5263, allocations: 6.781 kB / 0.7416 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.5264, allocations: 10.7 kB / 0.7417 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.5265, allocations: 83.77 kB / 0.7417 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.5265, allocations: 0 / 0.7417 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.5266, allocations: 7.172 kB / 0.7417 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5266, allocations: 1.312 kB / 0.7417 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.5267, allocations: 47.09 kB / 0.7418 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.5268, allocations: 185.4 kB / 0.742 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.527, allocations: 86.56 kB / 0.742 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.5271, allocations: 37.56 kB / 0.7421 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.5273, allocations: 178.6 kB / 0.7422 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.5273, allocations: 33.11 kB / 0.7423 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.5273, allocations: 5.438 kB / 0.7423 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001176/0.5285, allocations: 0.5427 MB / 0.7428 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.5285, allocations: 57.52 kB / 0.7429 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.996e-05/0.5286, allocations: 98.62 kB / 0.743 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5286, allocations: 32.64 kB / 0.743 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.5286, allocations: 80.52 kB / 0.7431 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.5287, allocations: 76.8 kB / 0.7431 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.5287, allocations: 22.83 kB / 0.7432 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.5288, allocations: 320.7 kB / 0.7435 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.5289, allocations: 33.73 kB / 0.7435 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.529, allocations: 74.11 kB / 0.7436 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.5292, allocations: 112.3 kB / 0.7437 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5292, allocations: 4 kB / 0.7437 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002193/0.5294, allocations: 163.4 kB / 0.7438 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5294, allocations: 5.031 kB / 0.7438 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.5294, allocations: 1.875 kB / 0.7438 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5294, allocations: 1.219 kB / 0.7439 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5296, allocations: 39.28 kB / 0.7439 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5296, allocations: 4.234 kB / 0.7439 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.5297, allocations: 10.78 kB / 0.7439 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.5297, allocations: 5.75 kB / 0.7439 GB, free: 3.141 MB / 0.5606 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 7.917e-05/0.5298, allocations: 124.6 kB / 0.744 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.5298, allocations: 4.312 kB / 0.744 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.5298, allocations: 17.64 kB / 0.744 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.5299, allocations: 2.688 kB / 0.7441 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5299, allocations: 4.688 kB / 0.7441 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5299, allocations: 9.797 kB / 0.7441 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.53, allocations: 193.6 kB / 0.7442 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.53, allocations: 0 / 0.7442 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.5302, allocations: 39.3 kB / 0.7443 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5302, allocations: 1.375 kB / 0.7443 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5302, allocations: 6.984 kB / 0.7443 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5303, allocations: 1.406 kB / 0.7443 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5303, allocations: 0.75 kB / 0.7443 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.5305, allocations: 219.3 kB / 0.7445 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.5306, allocations: 87 kB / 0.7446 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.5306, allocations: 6.406 kB / 0.7446 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.5308, allocations: 10.45 kB / 0.7446 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.5308, allocations: 17.73 kB / 0.7446 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5308, allocations: 9.266 kB / 0.7446 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.725e-05/0.5309, allocations: 78.09 kB / 0.7447 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5309, allocations: 0 / 0.7447 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002103/0.5311, allocations: 26.12 kB / 0.7447 GB, free: 2.461 MB / 0.5606 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.0004973/0.5316, allocations: 0.751 MB / 0.7455 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.5318, allocations: 109 kB / 0.7456 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5318, allocations: 3.938 kB / 0.7456 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.5319, allocations: 52.58 kB / 0.7456 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.5321, allocations: 19.5 kB / 0.7456 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.5337, allocations: 1.928 MB / 0.7475 GB, free: 188 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.5339, allocations: 0.7023 MB / 0.7482 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.534, allocations: 20.33 kB / 0.7482 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.5341, allocations: 20.73 kB / 0.7482 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.5341, allocations: 0 / 0.7482 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.936/2.47, allocations: 2.191 MB / 0.7504 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/2.47, allocations: 201 kB / 0.7506 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.316/7.786, allocations: 1.344 kB / 0.7506 GB, free: 14.62 MB / 0.5762 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)