Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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.00136/0.00136, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001621/0.001621, allocations: 211.2 kB / 22.25 MB, free: 5.086 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 8.031 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.957/0.957, allocations: 145 MB / 457.4 MB, free: 15.55 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.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",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.002043/0.002043, allocations: 62.47 kB / 0.6331 GB, free: 7.371 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1741, allocations: 87.88 MB / 0.719 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002485/0.1766, allocations: 1.356 MB / 0.7203 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5508/0.7274, allocations: 151.4 MB / 0.8682 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.7275, allocations: 0 / 0.8682 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.7275, allocations: 3.984 kB / 0.8682 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.7276, allocations: 15.86 kB / 0.8682 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.7288, allocations: 338.6 kB / 0.8685 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.7289, allocations: 75.7 kB / 0.8686 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.729, allocations: 3.984 kB / 0.8686 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.729, allocations: 29.52 kB / 0.8686 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.7291, allocations: 31.89 kB / 0.8686 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.7292, allocations: 4 kB / 0.8687 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009569/0.7301, allocations: 442.7 kB / 0.8691 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.7302, allocations: 23.97 kB / 0.8691 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.7302, allocations: 19.88 kB / 0.8691 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.7306, allocations: 159.7 kB / 0.8693 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7306, allocations: 0 / 0.8693 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7306, allocations: 3.938 kB / 0.8693 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.7307, allocations: 0 / 0.8693 GB, free: 3.57 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005262/0.7312, allocations: 317.9 kB / 0.8696 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.7312, allocations: 12.03 kB / 0.8696 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.7313, allocations: 34.73 kB / 0.8696 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/0.7317, allocations: 40.91 kB / 0.8697 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.7318, allocations: 106.5 kB / 0.8698 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.7318, allocations: 11.94 kB / 0.8698 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.7319, allocations: 11.94 kB / 0.8698 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.732, allocations: 75.16 kB / 0.8699 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.732, allocations: 0 / 0.8699 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.7321, allocations: 15.92 kB / 0.8699 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7321, allocations: 0 / 0.8699 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.7322, allocations: 51.89 kB / 0.8699 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.7324, allocations: 164.6 kB / 0.8701 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.7326, allocations: 74.7 kB / 0.8701 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.7327, allocations: 32.78 kB / 0.8702 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.7328, allocations: 19.98 kB / 0.8702 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.7329, allocations: 46.55 kB / 0.8702 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.7329, allocations: 0 / 0.8702 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001323/0.7342, allocations: 484.6 kB / 0.8707 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.7342, allocations: 51.41 kB / 0.8708 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.7343, allocations: 105.8 kB / 0.8709 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.7343, allocations: 29.7 kB / 0.8709 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.7344, allocations: 84.52 kB / 0.871 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.7345, allocations: 64.52 kB / 0.871 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.7345, allocations: 45.7 kB / 0.8711 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.7347, allocations: 318.8 kB / 0.8714 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.019e-05/0.7348, allocations: 44.05 kB / 0.8714 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.7349, allocations: 63.91 kB / 0.8715 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.7351, allocations: 112.3 kB / 0.8716 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7351, allocations: 6.922 kB / 0.8716 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002522/0.7353, allocations: 154.1 kB / 0.8717 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7353, allocations: 8 kB / 0.8717 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7353, allocations: 4 kB / 0.8717 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.7353, allocations: 0 / 0.8717 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.7355, allocations: 39.92 kB / 0.8718 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.7355, allocations: 12.7 kB / 0.8718 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.7356, allocations: 7.938 kB / 0.8718 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.7356, allocations: 11.94 kB / 0.8718 GB, free: 0.7305 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001075/0.7357, allocations: 121.8 kB / 0.8719 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.7357, allocations: 7.953 kB / 0.8719 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.7358, allocations: 16.47 kB / 0.872 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7358, allocations: 8 kB / 0.872 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7358, allocations: 0 / 0.872 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.7358, allocations: 7.922 kB / 0.872 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.736, allocations: 160.7 kB / 0.8721 GB, free: 372 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.736, allocations: 3.984 kB / 0.8721 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.7362, allocations: 35.98 kB / 0.8722 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.7362, allocations: 0 / 0.8722 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.7362, allocations: 4.562 kB / 0.8722 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7362, allocations: 0 / 0.8722 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7362, allocations: 4 kB / 0.8722 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.7365, allocations: 214.9 kB / 0.8724 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.7366, allocations: 23.62 kB / 0.8724 GB, free: 72 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.7366, allocations: 7.984 kB / 0.8724 GB, free: 64 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.7367, allocations: 8 kB / 0.8724 GB, free: 56 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.7367, allocations: 11.92 kB / 0.8724 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.7368, allocations: 11.98 kB / 0.8724 GB, free: 32 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.7368, allocations: 75.28 kB / 0.8725 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7368, allocations: 4.094 kB / 0.8725 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002266/0.737, allocations: 32 kB / 0.8725 GB, free: 15.92 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.000642/0.7377, allocations: 0.734 MB / 0.8733 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.7379, allocations: 109.8 kB / 0.8734 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7379, allocations: 0 / 0.8734 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.738, allocations: 47.92 kB / 0.8734 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.7383, allocations: 22.27 kB / 0.8734 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.7404, allocations: 1.823 MB / 0.8752 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.7408, allocations: 0.6969 MB / 0.8759 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000115/0.7409, allocations: 24.62 kB / 0.8759 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.741, allocations: 31.36 kB / 0.8759 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.741, allocations: 0 / 0.8759 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.7722, allocations: 2.659 MB / 0.8785 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.69, allocations: 0 / 0.8785 GB, free: 9.777 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.385868574958295] Failed to read output from testmodel.py, exit status != 0: 11.794375219149515 11.810714313 11.076803729 Calling exit ...