Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 106.3 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9002/0.9002, allocations: 143.3 MB / 440.5 MB, free: 11.25 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.6.0-master/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.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 61.06 kB / 0.6038 GB, free: 11.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2228, allocations: 82.03 MB / 0.6839 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006595/0.2294, allocations: 4.107 MB / 0.6879 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.2329, allocations: 1.321 MB / 0.6892 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.2339, allocations: 19.94 kB / 0.6892 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.2347, allocations: 130.7 kB / 0.6893 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.2354, allocations: 174.4 kB / 0.6895 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.2369, allocations: 427.7 kB / 0.6899 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.2384, allocations: 0.9669 MB / 0.6908 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008288/0.2393, allocations: 462.3 kB / 0.6913 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.2398, allocations: 318.8 kB / 0.6916 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.2403, allocations: 342.3 kB / 0.6919 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.2404, allocations: 92 kB / 0.692 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.2406, allocations: 88 kB / 0.6921 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.2408, allocations: 179.5 kB / 0.6923 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.2412, allocations: 394 kB / 0.6926 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.2429, allocations: 1.113 MB / 0.6937 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.243, allocations: 0 / 0.6937 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.007e-06/0.243, allocations: 4 kB / 0.6937 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.461e-05/0.243, allocations: 3.938 kB / 0.6937 GB, free: 15.59 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002592/0.2456, allocations: 1.1 MB / 0.6948 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.2457, allocations: 16.03 kB / 0.6948 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.2458, allocations: 94.7 kB / 0.6949 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.2461, allocations: 92.41 kB / 0.695 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.2471, allocations: 0.5616 MB / 0.6955 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.2472, allocations: 45.69 kB / 0.6956 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.2473, allocations: 60.36 kB / 0.6956 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.2486, allocations: 0.5999 MB / 0.6962 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.2486, allocations: 11.88 kB / 0.6962 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.2487, allocations: 32 kB / 0.6963 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.2487, allocations: 19.94 kB / 0.6963 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2499, allocations: 457 kB / 0.6967 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.2531, allocations: 1.997 MB / 0.6987 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.2541, allocations: 445 kB / 0.6991 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.2547, allocations: 242.1 kB / 0.6993 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.981e-05/0.2547, allocations: 4.438 kB / 0.6993 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007241/0.2555, allocations: 265.2 kB / 0.6996 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 3.206e-06/0.2555, allocations: 0 / 0.6996 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001499/0.257, allocations: 0.5846 MB / 0.7002 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.2571, allocations: 59.84 kB / 0.7002 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.2577, allocations: 442.8 kB / 0.7006 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.2577, allocations: 37.7 kB / 0.7007 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.258, allocations: 336.8 kB / 0.701 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.2582, allocations: 174.5 kB / 0.7012 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.2584, allocations: 94.19 kB / 0.7013 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002448/0.2586, allocations: 362.8 kB / 0.7016 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.2591, allocations: 169 kB / 0.7018 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.2595, allocations: 249.8 kB / 0.702 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009022/0.2604, allocations: 448 kB / 0.7024 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2605, allocations: 0 / 0.7024 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001149/0.2616, allocations: 0.5704 MB / 0.703 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/0.2617, allocations: 33.7 kB / 0.703 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2617, allocations: 0 / 0.703 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.2617, allocations: 4 kB / 0.703 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.2622, allocations: 116.1 kB / 0.7031 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2622, allocations: 8 kB / 0.7031 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.2626, allocations: 63.59 kB / 0.7032 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.2627, allocations: 16 kB / 0.7032 GB, free: 5.508 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002927/0.263, allocations: 210.2 kB / 0.7034 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.2631, allocations: 63.59 kB / 0.7035 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.2632, allocations: 61.59 kB / 0.7035 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2632, allocations: 8 kB / 0.7035 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.2632, allocations: 7.938 kB / 0.7036 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.2633, allocations: 3.984 kB / 0.7036 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.2653, allocations: 1.174 MB / 0.7047 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2653, allocations: 0 / 0.7047 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.2658, allocations: 95.88 kB / 0.7048 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2658, allocations: 4 kB / 0.7048 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.2658, allocations: 15.94 kB / 0.7048 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.2659, allocations: 4 kB / 0.7048 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2659, allocations: 0 / 0.7048 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.2674, allocations: 0.7654 MB / 0.7056 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.2676, allocations: 176.8 kB / 0.7057 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.2677, allocations: 12 kB / 0.7057 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.268, allocations: 23.97 kB / 0.7058 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2681, allocations: 32.39 kB / 0.7058 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.2682, allocations: 19.98 kB / 0.7058 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003993/0.2686, allocations: 306.9 kB / 0.7061 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2686, allocations: 0 / 0.7061 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004917/0.2691, allocations: 143.7 kB / 0.7062 GB, free: 2.305 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001873/0.271, allocations: 1.329 MB / 0.7075 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.272, allocations: 473.1 kB / 0.708 GB, free: 484 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2721, allocations: 4 kB / 0.708 GB, free: 480 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000466/0.2725, allocations: 222.8 kB / 0.7082 GB, free: 260 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/0.2734, allocations: 158.7 kB / 0.7084 GB, free: 112 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/0.2822, allocations: 4.806 MB / 0.7131 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.2829, allocations: 0.886 MB / 0.7139 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003633/0.2832, allocations: 60.58 kB / 0.714 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.2836, allocations: 219.4 kB / 0.7142 GB, free: 9.973 MB / 0.545 GB Notification: Performance of SimCode: time 1.362e-06/0.2836, allocations: 0 / 0.7142 GB, free: 9.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/0.3277, allocations: 11.35 MB / 0.7253 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.646/9.974, allocations: 8.906 kB / 0.7253 GB, free: 14.81 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.167335090925917] Failed to read output from testmodel.py, exit status != 0: 10.050009728060104 10.066080977 9.820261766 Calling exit ...