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.001116/0.001116, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 186.6 kB / 16.92 MB, free: 6.688 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.336 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 1.132/1.132, allocations: 143.2 MB / 435.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 12 kB / 0.5171 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1664, allocations: 83.4 MB / 0.5985 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001439/0.1679, allocations: 1.002 MB / 0.5995 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4475/0.6154, allocations: 143.1 MB / 0.7393 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.6155, allocations: 4 kB / 0.7393 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.6155, allocations: 5.297 kB / 0.7393 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.6156, allocations: 2.422 kB / 0.7393 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.6162, allocations: 84.58 kB / 0.7394 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.216e-05/0.6163, allocations: 29.23 kB / 0.7394 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.6163, allocations: 1.125 kB / 0.7394 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.6164, allocations: 21.77 kB / 0.7394 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.6165, allocations: 16.64 kB / 0.7394 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.6165, allocations: 6.094 kB / 0.7394 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.6168, allocations: 79.38 kB / 0.7395 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.6168, allocations: 4.266 kB / 0.7395 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.6169, allocations: 45.78 kB / 0.7396 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.6171, allocations: 38.7 kB / 0.7396 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6171, allocations: 1.406 kB / 0.7396 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.258e-06/0.6171, allocations: 0.6562 kB / 0.7396 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.6171, allocations: 3.938 kB / 0.7396 GB, free: 6.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004154/0.6175, allocations: 345.3 kB / 0.7399 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6176, allocations: 9.812 kB / 0.7399 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.6178, allocations: 13.19 kB / 0.7399 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.6179, allocations: 166.4 kB / 0.7401 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.6179, allocations: 7.016 kB / 0.7401 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.618, allocations: 13.16 kB / 0.7401 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.6181, allocations: 48.16 kB / 0.7402 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.6181, allocations: 0 / 0.7402 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6181, allocations: 5.344 kB / 0.7402 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.6181, allocations: 9.359 kB / 0.7402 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.489e-05/0.6182, allocations: 20.69 kB / 0.7402 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.6184, allocations: 166.5 kB / 0.7404 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/0.6185, allocations: 51.12 kB / 0.7404 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.6186, allocations: 17.91 kB / 0.7404 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.6186, allocations: 1.031 kB / 0.7404 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.6186, allocations: 32.28 kB / 0.7405 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.6186, allocations: 4.938 kB / 0.7405 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007779/0.6194, allocations: 374.2 kB / 0.7408 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.6194, allocations: 53.16 kB / 0.7409 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.6195, allocations: 97.53 kB / 0.741 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.6195, allocations: 26.64 kB / 0.741 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.6196, allocations: 84.27 kB / 0.7411 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.6196, allocations: 39.98 kB / 0.7411 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.6197, allocations: 19.41 kB / 0.7411 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6198, allocations: 321.8 kB / 0.7414 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.6198, allocations: 18.05 kB / 0.7415 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/0.6199, allocations: 36.08 kB / 0.7415 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.62, allocations: 62.62 kB / 0.7415 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.62, allocations: 1.531 kB / 0.7415 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001503/0.6202, allocations: 100.1 kB / 0.7416 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6202, allocations: 3.938 kB / 0.7416 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6202, allocations: 1.125 kB / 0.7416 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.6202, allocations: 2.453 kB / 0.7417 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.6203, allocations: 25.3 kB / 0.7417 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6204, allocations: 0 / 0.7417 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.6204, allocations: 1.531 kB / 0.7417 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.6204, allocations: 7.562 kB / 0.7417 GB, free: 4.852 MB / 0.5606 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 9.959e-05/0.6205, allocations: 117.6 kB / 0.7418 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.6205, allocations: 7.359 kB / 0.7418 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.6206, allocations: 10.08 kB / 0.7418 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6206, allocations: 1.25 kB / 0.7418 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6206, allocations: 0 / 0.7418 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6206, allocations: 0.7031 kB / 0.7418 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.6208, allocations: 183.3 kB / 0.742 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6208, allocations: 0 / 0.742 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.6209, allocations: 23.66 kB / 0.742 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6209, allocations: 2.016 kB / 0.742 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.6209, allocations: 1 kB / 0.742 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6209, allocations: 5.906 kB / 0.742 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6209, allocations: 0.6562 kB / 0.742 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.6211, allocations: 138.2 kB / 0.7422 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.6212, allocations: 86.69 kB / 0.7422 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.6213, allocations: 1.875 kB / 0.7422 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.6214, allocations: 7.234 kB / 0.7422 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.6214, allocations: 5.75 kB / 0.7423 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.6214, allocations: 7.156 kB / 0.7423 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.073e-05/0.6214, allocations: 80.62 kB / 0.7423 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6214, allocations: 0 / 0.7423 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002099/0.6217, allocations: 17.69 kB / 0.7424 GB, free: 4.223 MB / 0.5606 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 0.0001123/0.6218, allocations: 105.4 kB / 0.7425 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.6219, allocations: 58.23 kB / 0.7425 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6219, allocations: 0.7031 kB / 0.7425 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.622, allocations: 28.94 kB / 0.7425 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.6222, allocations: 10.8 kB / 0.7425 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.6229, allocations: 411 kB / 0.7429 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.6232, allocations: 0.6861 MB / 0.7436 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.6232, allocations: 12.44 kB / 0.7436 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.6232, allocations: 0 / 0.7436 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of Templates: time 0.002775/0.626, allocations: 0.8191 MB / 0.7444 GB, free: 3.043 MB / 0.5606 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)