Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.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.00128/0.00128, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001328/0.001328, allocations: 215 kB / 20.13 MB, free: 2.949 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.584/1.584, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9599/0.9599, allocations: 144.9 MB / 454.5 MB, free: 10.44 MB / 350.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.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="cs",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.002689/0.002689, allocations: 69.5 kB / 0.6287 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1666, allocations: 87.83 MB / 0.7144 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002457/0.169, allocations: 1.279 MB / 0.7157 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.3389, allocations: 141 MB / 0.8534 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.3389, allocations: 0 / 0.8534 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.339, allocations: 4 kB / 0.8534 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.339, allocations: 7.922 kB / 0.8534 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.3403, allocations: 470.5 kB / 0.8538 GB, free: 12.48 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.3403, allocations: 43.84 kB / 0.8539 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.3404, allocations: 4 kB / 0.8539 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.3404, allocations: 19.97 kB / 0.8539 GB, free: 12.42 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.3405, allocations: 23.92 kB / 0.8539 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3405, allocations: 4 kB / 0.8539 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.3419, allocations: 0.8309 MB / 0.8547 GB, free: 11.56 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.3419, allocations: 15.97 kB / 0.8548 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.342, allocations: 15.94 kB / 0.8548 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.3426, allocations: 455 kB / 0.8552 GB, free: 11.08 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3426, allocations: 0 / 0.8552 GB, free: 11.08 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3426, allocations: 0 / 0.8552 GB, free: 11.08 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3426, allocations: 0 / 0.8552 GB, free: 11.08 MB / 0.67 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.0005456/0.3431, allocations: 371.2 kB / 0.8556 GB, free: 10.67 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3431, allocations: 16.02 kB / 0.8556 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.819e-05/0.3432, allocations: 4.188 kB / 0.8556 GB, free: 10.65 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.3432, allocations: 38.75 kB / 0.8556 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.3434, allocations: 8.938 kB / 0.8556 GB, free: 10.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3435, allocations: 172.3 kB / 0.8558 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3435, allocations: 4.125 kB / 0.8558 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3435, allocations: 8 kB / 0.8558 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.3437, allocations: 53.67 kB / 0.8559 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.3437, allocations: 0 / 0.8559 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3437, allocations: 4 kB / 0.8559 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3437, allocations: 0 / 0.8559 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.3438, allocations: 23.97 kB / 0.8559 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.344, allocations: 157.7 kB / 0.856 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3441, allocations: 54.44 kB / 0.8561 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.3441, allocations: 25.02 kB / 0.8561 GB, free: 10 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.356, allocations: 3.205 MB / 0.8592 GB, free: 6.699 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.3561, allocations: 30.56 kB / 0.8593 GB, free: 6.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.3561, allocations: 4 kB / 0.8593 GB, free: 6.656 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.4571/0.8131, allocations: 15 MB / 0.8739 GB, free: 152.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.8132, allocations: 55.06 kB / 0.874 GB, free: 152.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.8132, allocations: 94.98 kB / 0.8741 GB, free: 152.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.8132, allocations: 31.03 kB / 0.8741 GB, free: 152.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 1.33e-05/0.8132, allocations: 82.36 kB / 0.8742 GB, free: 152.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.8133, allocations: 43.48 kB / 0.8742 GB, free: 152.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.8133, allocations: 28.72 kB / 0.8742 GB, free: 152.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.8134, allocations: 321.3 kB / 0.8745 GB, free: 151.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.8134, allocations: 22.66 kB / 0.8746 GB, free: 151.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.8135, allocations: 26.84 kB / 0.8746 GB, free: 151.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.8136, allocations: 70 kB / 0.8747 GB, free: 151.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.8136, allocations: 0 / 0.8747 GB, free: 151.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002594/0.8139, allocations: 98.62 kB / 0.8748 GB, free: 151.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.8139, allocations: 7.5 kB / 0.8748 GB, free: 151.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8139, allocations: 1.125 kB / 0.8748 GB, free: 151.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.814, allocations: 1.688 kB / 0.8748 GB, free: 151.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.8141, allocations: 32.61 kB / 0.8748 GB, free: 151.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8141, allocations: 1.156 kB / 0.8748 GB, free: 151.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.8142, allocations: 1.594 kB / 0.8748 GB, free: 151.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.8142, allocations: 15.61 kB / 0.8748 GB, free: 151.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.64e-05/0.8143, allocations: 117.6 kB / 0.8749 GB, free: 151.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.8143, allocations: 7.297 kB / 0.8749 GB, free: 151.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.8146, allocations: 121.7 kB / 0.875 GB, free: 151.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8146, allocations: 1.812 kB / 0.875 GB, free: 151.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8147, allocations: 4.875 kB / 0.8751 GB, free: 151.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8147, allocations: 1.25 kB / 0.8751 GB, free: 151.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.8148, allocations: 178.8 kB / 0.8752 GB, free: 151.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8148, allocations: 0 / 0.8752 GB, free: 151.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.8149, allocations: 31.42 kB / 0.8753 GB, free: 151.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.8149, allocations: 1.062 kB / 0.8753 GB, free: 151.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.815, allocations: 6.047 kB / 0.8753 GB, free: 151.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.815, allocations: 3.156 kB / 0.8753 GB, free: 151.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.815, allocations: 0.5 kB / 0.8753 GB, free: 151.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.8153, allocations: 153.5 kB / 0.8754 GB, free: 151.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.8154, allocations: 95.58 kB / 0.8755 GB, free: 151.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.8154, allocations: 2.734 kB / 0.8755 GB, free: 151.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.8155, allocations: 14.19 kB / 0.8755 GB, free: 151.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.8156, allocations: 9.562 kB / 0.8755 GB, free: 151.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.8156, allocations: 8.812 kB / 0.8755 GB, free: 151.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 2.241e-05/0.8156, allocations: 79.84 kB / 0.8756 GB, free: 151.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.8156, allocations: 0.625 kB / 0.8756 GB, free: 151.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002318/0.8179, allocations: 0.5711 MB / 0.8762 GB, free: 151.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (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.004057/0.822, allocations: 0.9465 MB / 0.8771 GB, free: 150.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.8223, allocations: 72.45 kB / 0.8772 GB, free: 150.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8223, allocations: 4 kB / 0.8772 GB, free: 150.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.8223, allocations: 29.61 kB / 0.8772 GB, free: 150.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.8225, allocations: 8.312 kB / 0.8772 GB, free: 150.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.8249, allocations: 1.549 MB / 0.8787 GB, free: 149.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.8251, allocations: 0.685 MB / 0.8794 GB, free: 148.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 9.754e-05/0.8252, allocations: 25.05 kB / 0.8794 GB, free: 148.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.8252, allocations: 19.2 kB / 0.8794 GB, free: 148.5 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.8252, allocations: 0 / 0.8794 GB, free: 148.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05717/0.8824, allocations: 25.62 MB / 0.9044 GB, free: 126.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.191/10.07, allocations: 6.344 kB / 0.9045 GB, free: 126.4 MB / 0.67 GB " [Timeout remaining time 650] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.601110569026787] Failed to read output from testmodel.py, exit status != 0: 10.213942046975717 10.232027803 9.885962518 Calling exit ...