Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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: translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 103.8 kB / 16.27 MB, free: 5.984 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.001224/0.001224, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.233/1.233, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.793/0.793, allocations: 143.1 MB / 434.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.91 kB / 0.5148 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2915, allocations: 82.04 MB / 0.5949 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001968/0.2936, allocations: 1.269 MB / 0.5962 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1333/0.4269, allocations: 147 MB / 0.7397 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.427, allocations: 0 / 0.7397 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.427, allocations: 3.938 kB / 0.7397 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.4271, allocations: 7.984 kB / 0.7397 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.4275, allocations: 97.61 kB / 0.7398 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.013e-05/0.4275, allocations: 35.86 kB / 0.7399 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.4276, allocations: 4 kB / 0.7399 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.4276, allocations: 15.92 kB / 0.7399 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.4277, allocations: 19.97 kB / 0.7399 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.4277, allocations: 4 kB / 0.7399 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.4279, allocations: 71.84 kB / 0.74 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.428, allocations: 19.84 kB / 0.74 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.428, allocations: 11.94 kB / 0.74 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.4281, allocations: 65.86 kB / 0.7401 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4281, allocations: 0 / 0.7401 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4281, allocations: 0 / 0.7401 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.4281, allocations: 0 / 0.7401 GB, free: 11.11 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003578/0.4285, allocations: 355.5 kB / 0.7404 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.4285, allocations: 12.03 kB / 0.7404 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.4287, allocations: 16.83 kB / 0.7404 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.4289, allocations: 164.3 kB / 0.7406 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4289, allocations: 3.938 kB / 0.7406 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.4289, allocations: 12 kB / 0.7406 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.429, allocations: 53.66 kB / 0.7407 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.429, allocations: 0 / 0.7407 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.429, allocations: 0 / 0.7407 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4291, allocations: 8 kB / 0.7407 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.4291, allocations: 15.98 kB / 0.7407 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.4293, allocations: 169.5 kB / 0.7408 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.342e-05/0.4294, allocations: 50.5 kB / 0.7409 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.4294, allocations: 20.84 kB / 0.7409 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.4294, allocations: 0 / 0.7409 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.4294, allocations: 34.56 kB / 0.7409 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.4294, allocations: 0 / 0.7409 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006718/0.4301, allocations: 370.8 kB / 0.7413 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.4302, allocations: 59.34 kB / 0.7414 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.4302, allocations: 93.84 kB / 0.7414 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4302, allocations: 29.7 kB / 0.7415 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.4303, allocations: 84.27 kB / 0.7416 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.4303, allocations: 39.45 kB / 0.7416 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.4304, allocations: 25.72 kB / 0.7416 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.4305, allocations: 322.8 kB / 0.7419 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.4305, allocations: 16 kB / 0.7419 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/0.4305, allocations: 33.7 kB / 0.742 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.977e-05/0.4306, allocations: 61.69 kB / 0.742 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4306, allocations: 4 kB / 0.742 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001271/0.4308, allocations: 101.5 kB / 0.7421 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.4308, allocations: 4 kB / 0.7421 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4308, allocations: 4 kB / 0.7421 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4308, allocations: 0 / 0.7421 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4309, allocations: 23.92 kB / 0.7422 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4309, allocations: 4 kB / 0.7422 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.431, allocations: 0 / 0.7422 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.431, allocations: 11.94 kB / 0.7422 GB, free: 8.668 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.2e-05/0.4311, allocations: 117.8 kB / 0.7423 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.4311, allocations: 4 kB / 0.7423 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.4311, allocations: 7.969 kB / 0.7423 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4311, allocations: 4 kB / 0.7423 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4311, allocations: 0 / 0.7423 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4311, allocations: 3.984 kB / 0.7423 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.4313, allocations: 173.5 kB / 0.7425 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4313, allocations: 4 kB / 0.7425 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.4314, allocations: 27.92 kB / 0.7425 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4314, allocations: 0 / 0.7425 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.4314, allocations: 8 kB / 0.7425 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4314, allocations: 0 / 0.7425 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4314, allocations: 0 / 0.7425 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.4316, allocations: 140.9 kB / 0.7426 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.4317, allocations: 81.02 kB / 0.7427 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.4317, allocations: 4.094 kB / 0.7427 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.4318, allocations: 8.031 kB / 0.7427 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.4318, allocations: 7.984 kB / 0.7427 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4318, allocations: 11.94 kB / 0.7428 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.4319, allocations: 75.28 kB / 0.7428 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4319, allocations: 0 / 0.7428 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001945/0.4321, allocations: 19.94 kB / 0.7428 GB, free: 7.891 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 9.012e-05/0.4322, allocations: 111.2 kB / 0.743 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.4323, allocations: 57.89 kB / 0.743 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4323, allocations: 0 / 0.743 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.4324, allocations: 28.08 kB / 0.743 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.4326, allocations: 8 kB / 0.743 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.4331, allocations: 346.6 kB / 0.7434 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.4333, allocations: 0.6892 MB / 0.744 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.4333, allocations: 11.44 kB / 0.7441 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.4333, allocations: 4 kB / 0.7441 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of Templates: time 0.001978/0.4353, allocations: 0.8266 MB / 0.7449 GB, free: 5.754 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)