Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.001208/0.001208, 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.001211/0.001211, allocations: 193.3 kB / 16.25 MB, free: 6.633 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.952/0.952, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 71.88 kB / 0.5138 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1396, allocations: 82.04 MB / 0.5939 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.365/0.5047, allocations: 146.2 MB / 0.7366 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001204/0.5048, allocations: 53.8 kB / 0.7367 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.5049, allocations: 1.375 kB / 0.7367 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.963e-05/0.505, allocations: 1.312 kB / 0.7367 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.5051, allocations: 13.02 kB / 0.7367 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.5057, allocations: 205 kB / 0.7369 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.5058, allocations: 38.28 kB / 0.7369 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.904e-05/0.5059, allocations: 2.031 kB / 0.737 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.5059, allocations: 12.16 kB / 0.737 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.506, allocations: 16.91 kB / 0.737 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.506, allocations: 1.375 kB / 0.737 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.5064, allocations: 203 kB / 0.7372 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.5064, allocations: 4.953 kB / 0.7372 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.5064, allocations: 19.47 kB / 0.7372 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.5067, allocations: 124.1 kB / 0.7373 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5067, allocations: 3.938 kB / 0.7373 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5067, allocations: 1.125 kB / 0.7373 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.5067, allocations: 0.7031 kB / 0.7373 GB, free: 6.707 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003293/0.5071, allocations: 344.7 kB / 0.7376 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.5071, allocations: 10.09 kB / 0.7377 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.5071, allocations: 31.45 kB / 0.7377 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.5074, allocations: 29.2 kB / 0.7377 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.5075, allocations: 166.9 kB / 0.7379 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.5076, allocations: 31.05 kB / 0.7379 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.5076, allocations: 2.125 kB / 0.7379 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.5077, allocations: 47.19 kB / 0.738 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.5077, allocations: 0 / 0.738 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5077, allocations: 1.75 kB / 0.738 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.5078, allocations: 5.828 kB / 0.738 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.5078, allocations: 16.64 kB / 0.738 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.5081, allocations: 268.4 kB / 0.7382 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.409e-05/0.5082, allocations: 21.52 kB / 0.7383 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.5082, allocations: 8.438 kB / 0.7383 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.5083, allocations: 94.75 kB / 0.7384 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.5084, allocations: 35.78 kB / 0.7384 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5084, allocations: 0 / 0.7384 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002136/0.5086, allocations: 60.39 kB / 0.7384 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.5086, allocations: 51.41 kB / 0.7385 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/0.5087, allocations: 107.3 kB / 0.7386 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.5087, allocations: 25.7 kB / 0.7386 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.5088, allocations: 95.53 kB / 0.7387 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-06/0.5088, allocations: 1.188 kB / 0.7387 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.5088, allocations: 18.92 kB / 0.7387 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.5089, allocations: 312.9 kB / 0.739 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.5089, allocations: 3.859 kB / 0.739 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.5089, allocations: 25.19 kB / 0.7391 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.079e-05/0.509, allocations: 41 kB / 0.7391 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.509, allocations: 0.5625 kB / 0.7391 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.914e-05/0.5091, allocations: 57.41 kB / 0.7391 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.5091, allocations: 4.969 kB / 0.7392 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5091, allocations: 1.969 kB / 0.7392 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.5091, allocations: 1.344 kB / 0.7392 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.853e-05/0.5092, allocations: 6.156 kB / 0.7392 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5092, allocations: 12.17 kB / 0.7392 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.5092, allocations: 1.281 kB / 0.7392 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.5092, allocations: 1.188 kB / 0.7392 GB, free: 4.781 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 6.021e-05/0.5093, allocations: 113 kB / 0.7393 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.5093, allocations: 1.625 kB / 0.7393 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.5093, allocations: 5.859 kB / 0.7393 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.5093, allocations: 1.75 kB / 0.7393 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5093, allocations: 7.875 kB / 0.7393 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.5093, allocations: 0 / 0.7393 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.5096, allocations: 364.6 kB / 0.7396 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5096, allocations: 0.5625 kB / 0.7396 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.5096, allocations: 9.609 kB / 0.7397 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5096, allocations: 3.938 kB / 0.7397 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.5097, allocations: 1.312 kB / 0.7397 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5097, allocations: 0.7031 kB / 0.7397 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5097, allocations: 1.625 kB / 0.7397 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.374e-05/0.5097, allocations: 70.75 kB / 0.7397 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.5098, allocations: 84.36 kB / 0.7398 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.5098, allocations: 6.781 kB / 0.7398 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.5099, allocations: 3.281 kB / 0.7398 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.5099, allocations: 2.234 kB / 0.7398 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.5099, allocations: 1.812 kB / 0.7398 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.51, allocations: 84.77 kB / 0.7399 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.262e-06/0.51, allocations: 0 / 0.7399 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000185/0.5101, allocations: 10.61 kB / 0.7399 GB, free: 3.988 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002894/0.5104, allocations: 0.6141 MB / 0.7405 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.945e-05/0.5105, allocations: 23.34 kB / 0.7405 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5105, allocations: 0 / 0.7405 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.5105, allocations: 4.219 kB / 0.7405 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.5108, allocations: 13.67 kB / 0.7406 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.5111, allocations: 157.1 kB / 0.7407 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.5113, allocations: 0.6767 MB / 0.7414 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.726e-05/0.5113, allocations: 10.28 kB / 0.7414 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.5114, allocations: 17.47 kB / 0.7414 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5114, allocations: 0.9688 kB / 0.7414 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.191/0.7024, allocations: 1.361 MB / 0.7427 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.7026, allocations: 216.9 kB / 0.7429 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.297, allocations: 5.281 kB / 0.7429 GB, free: 2.027 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)