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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.001008/0.001008, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00105/0.001051, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.9322/0.9322, allocations: 143 MB / 433.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.89 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1344, allocations: 82.05 MB / 0.5939 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002124/0.1365, allocations: 1.333 MB / 0.5952 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3734/0.5099, allocations: 144.8 MB / 0.7367 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.51, allocations: 0 / 0.7367 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.51, allocations: 1.453 kB / 0.7367 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.69e-05/0.5101, allocations: 10.31 kB / 0.7367 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.5106, allocations: 87.19 kB / 0.7368 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.5106, allocations: 28.02 kB / 0.7368 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.5107, allocations: 14.45 kB / 0.7368 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.5107, allocations: 17.67 kB / 0.7368 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.5108, allocations: 16.91 kB / 0.7368 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.5108, allocations: 1.344 kB / 0.7368 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.511, allocations: 73.56 kB / 0.7369 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.5111, allocations: 8.766 kB / 0.7369 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.5111, allocations: 20.17 kB / 0.7369 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.5113, allocations: 68.52 kB / 0.737 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5113, allocations: 0 / 0.737 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5113, allocations: 1.375 kB / 0.737 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.5113, allocations: 0 / 0.737 GB, free: 6.848 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.0003844/0.5117, allocations: 352.2 kB / 0.7373 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5117, allocations: 10.56 kB / 0.7373 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.5118, allocations: 32.12 kB / 0.7374 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.5119, allocations: 13.75 kB / 0.7374 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.992e-05/0.512, allocations: 167.1 kB / 0.7375 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5121, allocations: 9.312 kB / 0.7376 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.5121, allocations: 4.125 kB / 0.7376 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.5122, allocations: 55.58 kB / 0.7376 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.5122, allocations: 0 / 0.7376 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.5122, allocations: 1.375 kB / 0.7376 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5122, allocations: 0 / 0.7376 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.815e-05/0.5123, allocations: 17.75 kB / 0.7376 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.5125, allocations: 166.6 kB / 0.7378 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.5126, allocations: 52.22 kB / 0.7378 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.5126, allocations: 26.03 kB / 0.7379 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.5126, allocations: 1.469 kB / 0.7379 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.5127, allocations: 36.41 kB / 0.7379 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.5127, allocations: 0 / 0.7379 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006879/0.5134, allocations: 370.5 kB / 0.7383 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.5134, allocations: 53.89 kB / 0.7383 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.774e-05/0.5135, allocations: 97.02 kB / 0.7384 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.5135, allocations: 27.69 kB / 0.7384 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.5135, allocations: 81.95 kB / 0.7385 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.5136, allocations: 38.3 kB / 0.7385 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.5136, allocations: 32.34 kB / 0.7386 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.5137, allocations: 322.2 kB / 0.7389 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.5138, allocations: 21.41 kB / 0.7389 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.5138, allocations: 36.23 kB / 0.7389 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/0.5139, allocations: 63.33 kB / 0.739 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5139, allocations: 1.969 kB / 0.739 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001327/0.5141, allocations: 92.38 kB / 0.7391 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5141, allocations: 6.031 kB / 0.7391 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5141, allocations: 0.9375 kB / 0.7391 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.5141, allocations: 5.219 kB / 0.7391 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.5142, allocations: 21.12 kB / 0.7391 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5142, allocations: 5.469 kB / 0.7391 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.5143, allocations: 6.297 kB / 0.7391 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.5143, allocations: 1.781 kB / 0.7391 GB, free: 4.797 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 7.222e-05/0.5144, allocations: 121.2 kB / 0.7392 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.5144, allocations: 6.781 kB / 0.7392 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.5144, allocations: 14.47 kB / 0.7393 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5144, allocations: 5.344 kB / 0.7393 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5144, allocations: 0.75 kB / 0.7393 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5144, allocations: 2.078 kB / 0.7393 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.5146, allocations: 173.7 kB / 0.7394 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5146, allocations: 1.188 kB / 0.7394 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.5147, allocations: 21.06 kB / 0.7395 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5147, allocations: 0 / 0.7395 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5147, allocations: 2.656 kB / 0.7395 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5147, allocations: 1.281 kB / 0.7395 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5147, allocations: 0.75 kB / 0.7395 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.5149, allocations: 140.8 kB / 0.7396 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.515, allocations: 87.72 kB / 0.7397 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.515, allocations: 6.344 kB / 0.7397 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.5151, allocations: 3.266 kB / 0.7397 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.5152, allocations: 5.172 kB / 0.7397 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.5152, allocations: 9.719 kB / 0.7397 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.5152, allocations: 76.97 kB / 0.7398 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5152, allocations: 4.75 kB / 0.7398 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001978/0.5154, allocations: 16.91 kB / 0.7398 GB, free: 4.164 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.0004136/0.5158, allocations: 0.6681 MB / 0.7404 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.516, allocations: 58.22 kB / 0.7405 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.516, allocations: 1 kB / 0.7405 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.516, allocations: 30.61 kB / 0.7405 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.5163, allocations: 13.27 kB / 0.7405 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.5176, allocations: 1.451 MB / 0.742 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.5178, allocations: 0.6859 MB / 0.7426 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.936e-05/0.5179, allocations: 10.2 kB / 0.7426 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.5179, allocations: 17.11 kB / 0.7427 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/0.5179, allocations: 0 / 0.7427 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2293/0.7472, allocations: 1.589 MB / 0.7442 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/0.7475, allocations: 224.8 kB / 0.7444 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.995, allocations: 4 kB / 0.7444 GB, free: 1.027 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)