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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 114.3 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 219.9 kB / 22.26 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9053/0.9053, allocations: 145 MB / 457.4 MB, free: 15.53 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 70.34 kB / 0.6331 GB, free: 7.363 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1729, allocations: 87.88 MB / 0.719 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5421/0.715, allocations: 151.6 MB / 0.867 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001428/0.7152, allocations: 46.75 kB / 0.8671 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.7152, allocations: 4 kB / 0.8671 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.7153, allocations: 11.92 kB / 0.8671 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.12e-05/0.7154, allocations: 11.92 kB / 0.8671 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.7164, allocations: 224.4 kB / 0.8673 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.7165, allocations: 35.84 kB / 0.8674 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.7165, allocations: 8 kB / 0.8674 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.7166, allocations: 11.98 kB / 0.8674 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.7167, allocations: 15.97 kB / 0.8674 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.7167, allocations: 0 / 0.8674 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.7172, allocations: 215.3 kB / 0.8676 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.7173, allocations: 7.984 kB / 0.8676 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.7173, allocations: 12 kB / 0.8676 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.7176, allocations: 106.9 kB / 0.8677 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7176, allocations: 3.938 kB / 0.8677 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7176, allocations: 0 / 0.8677 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.7177, allocations: 4 kB / 0.8677 GB, free: 5.191 MB / 0.6387 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.0004917/0.7182, allocations: 271.2 kB / 0.868 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7182, allocations: 8.031 kB / 0.868 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.7182, allocations: 34.75 kB / 0.868 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.7186, allocations: 24.86 kB / 0.868 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.7187, allocations: 106.5 kB / 0.8681 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/0.7188, allocations: 55.34 kB / 0.8682 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.7188, allocations: 4 kB / 0.8682 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.719, allocations: 59.34 kB / 0.8683 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.719, allocations: 8.484 kB / 0.8683 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.719, allocations: 0 / 0.8683 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.719, allocations: 0 / 0.8683 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.7191, allocations: 27.92 kB / 0.8683 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.7195, allocations: 231.9 kB / 0.8685 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.7196, allocations: 26.58 kB / 0.8685 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.7196, allocations: 4.859 kB / 0.8685 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.7197, allocations: 20.05 kB / 0.8686 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.7198, allocations: 31.44 kB / 0.8686 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.7198, allocations: 0 / 0.8686 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002814/0.7201, allocations: 57.62 kB / 0.8687 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.7201, allocations: 51.41 kB / 0.8687 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.7202, allocations: 105.8 kB / 0.8688 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.7202, allocations: 29.7 kB / 0.8688 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.7203, allocations: 84.09 kB / 0.8689 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.7203, allocations: 3.953 kB / 0.8689 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.7204, allocations: 17.72 kB / 0.8689 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7205, allocations: 320.1 kB / 0.8692 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.7205, allocations: 4 kB / 0.8692 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.7206, allocations: 22.58 kB / 0.8693 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.761e-05/0.7206, allocations: 34.5 kB / 0.8693 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7206, allocations: 4 kB / 0.8693 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001083/0.7207, allocations: 57.59 kB / 0.8694 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7208, allocations: 4 kB / 0.8694 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.7208, allocations: 3.984 kB / 0.8694 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.7208, allocations: 3.875 kB / 0.8694 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.7208, allocations: 8 kB / 0.8694 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7209, allocations: 3.938 kB / 0.8694 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.7209, allocations: 7.938 kB / 0.8694 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.7209, allocations: 1.312 kB / 0.8694 GB, free: 3.277 MB / 0.6387 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 9.391e-05/0.721, allocations: 117.9 kB / 0.8695 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.721, allocations: 0 / 0.8695 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.721, allocations: 3.312 kB / 0.8695 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.721, allocations: 0 / 0.8695 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.721, allocations: 7.922 kB / 0.8695 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.721, allocations: 7.938 kB / 0.8695 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.7214, allocations: 334.6 kB / 0.8698 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7214, allocations: 4.062 kB / 0.8698 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.7214, allocations: 7.984 kB / 0.8698 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.7214, allocations: 3.938 kB / 0.8698 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.7214, allocations: 0 / 0.8698 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.7214, allocations: 4 kB / 0.8699 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7214, allocations: 0 / 0.8699 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.783e-05/0.7215, allocations: 69.88 kB / 0.8699 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.7215, allocations: 15.97 kB / 0.8699 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.7216, allocations: 3.984 kB / 0.8699 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.7216, allocations: 4 kB / 0.8699 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.7216, allocations: 0 / 0.8699 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.7216, allocations: 0 / 0.8699 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.7217, allocations: 87.53 kB / 0.87 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7217, allocations: 0 / 0.87 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001983/0.7219, allocations: 8 kB / 0.87 GB, free: 2.523 MB / 0.6387 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.0004625/0.7224, allocations: 0.6094 MB / 0.8706 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.575e-05/0.7225, allocations: 19.94 kB / 0.8706 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7225, allocations: 4.219 kB / 0.8707 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.7225, allocations: 7.938 kB / 0.8707 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.7227, allocations: 12.06 kB / 0.8707 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.7232, allocations: 138 kB / 0.8708 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.7235, allocations: 0.6768 MB / 0.8715 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.151e-05/0.7236, allocations: 8.125 kB / 0.8715 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.7236, allocations: 15.44 kB / 0.8715 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/0.7236, allocations: 0 / 0.8715 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.7503, allocations: 1.587 MB / 0.873 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.69, allocations: 6.047 kB / 0.873 GB, free: 15.49 MB / 0.6544 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.309852648992091] Failed to read output from testmodel.py, exit status != 0: 11.792712255148217 11.80886279 11.087893448 Calling exit ...