Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001622/0.001622, allocations: 112.5 kB / 16.41 MB, free: 6.512 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.001716/0.001716, allocations: 191.7 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.489/1.489, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02446/0.02446, allocations: 4.653 MB / 301.9 MB, free: 8.117 MB / 238.1 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.0019, allocations: 68.08 kB / 416.5 MB, free: 26.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09456, allocations: 50.5 MB / 467 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004149/0.09874, allocations: 2.864 MB / 469.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.09995, allocations: 0.67 MB / 470.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1001, allocations: 11.94 kB / 470.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.1003, allocations: 35.59 kB / 470.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1005, allocations: 91.14 kB / 470.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1008, allocations: 95.89 kB / 470.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004452/0.1012, allocations: 390.5 kB / 471.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.1016, allocations: 192.7 kB / 471.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.1018, allocations: 151.5 kB / 471.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.102, allocations: 155.4 kB / 471.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.1021, allocations: 36 kB / 471.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-05/0.1022, allocations: 40 kB / 471.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.1023, allocations: 79.7 kB / 471.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.1024, allocations: 163.3 kB / 472 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.1029, allocations: 394.5 kB / 472.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1029, allocations: 0 / 472.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1029, allocations: 0 / 472.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1029, allocations: 0 / 472.4 MB, free: 2.516 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001167/0.1041, allocations: 0.6562 MB / 473 MB, free: 1.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1041, allocations: 8.031 kB / 473 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.315e-05/0.1042, allocations: 54.73 kB / 473.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.1043, allocations: 40.75 kB / 473.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1046, allocations: 276.8 kB / 473.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1046, allocations: 12.94 kB / 473.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.1047, allocations: 32.36 kB / 473.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.1054, allocations: 319.6 kB / 473.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1054, allocations: 0 / 473.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.1054, allocations: 8 kB / 473.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1054, allocations: 12 kB / 473.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/0.1061, allocations: 238.1 kB / 474 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.1075, allocations: 0.998 MB / 475 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.1083, allocations: 286.6 kB / 475.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.1086, allocations: 140.8 kB / 475.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1087, allocations: 4 kB / 475.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004218/0.1091, allocations: 181.5 kB / 475.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.465e-06/0.1091, allocations: 0 / 475.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009906/0.1101, allocations: 384.3 kB / 476 MB, free: 14.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1102, allocations: 59.41 kB / 476 MB, free: 14.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.1104, allocations: 217 kB / 476.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1104, allocations: 29.7 kB / 476.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1106, allocations: 172.3 kB / 476.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.1106, allocations: 75.38 kB / 476.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.1107, allocations: 45.7 kB / 476.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1109, allocations: 334.8 kB / 476.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.1112, allocations: 115.9 kB / 477 MB, free: 13.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.1115, allocations: 143.4 kB / 477.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/0.1122, allocations: 290.6 kB / 477.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1122, allocations: 0 / 477.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000756/0.1129, allocations: 360.6 kB / 477.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.113, allocations: 36.5 kB / 477.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.113, allocations: 4 kB / 477.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.113, allocations: 0 / 477.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.1134, allocations: 63.89 kB / 477.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1134, allocations: 7.938 kB / 477.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.1136, allocations: 31.83 kB / 477.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.1136, allocations: 20.05 kB / 477.9 MB, free: 12.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.0001637/0.1138, allocations: 149.8 kB / 478.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.1138, allocations: 27.8 kB / 478.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007421/0.1146, allocations: 299.6 kB / 478.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1146, allocations: 4 kB / 478.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1146, allocations: 4 kB / 478.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1146, allocations: 3.984 kB / 478.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1151, allocations: 369.4 kB / 478.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1151, allocations: 0 / 478.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.1154, allocations: 67.83 kB / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1154, allocations: 0 / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1154, allocations: 0 / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.1154, allocations: 8 kB / 478.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1154, allocations: 0 / 478.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1165, allocations: 455.7 kB / 479.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.1165, allocations: 104.9 kB / 479.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.1166, allocations: 11.92 kB / 479.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.1168, allocations: 20.05 kB / 479.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.1169, allocations: 23.97 kB / 479.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1169, allocations: 8 kB / 479.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1171, allocations: 160.5 kB / 479.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1171, allocations: 0 / 479.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.1174, allocations: 67.89 kB / 479.7 MB, free: 10.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001334/0.1187, allocations: 0.9877 MB / 480.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.1194, allocations: 319.2 kB / 481 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1195, allocations: 0 / 481 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.1198, allocations: 131.8 kB / 481.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1201, allocations: 36.55 kB / 481.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.1243, allocations: 2.817 MB / 484 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1247, allocations: 0.7593 MB / 484.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.1249, allocations: 29.47 kB / 484.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.1251, allocations: 83.41 kB / 484.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1251, allocations: 0 / 484.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.1543, allocations: 5.233 MB / 490.1 MB, free: 352 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.646, allocations: 14.03 kB / 490.1 MB, free: 344 kB / 350.1 MB " [Timeout remaining time 651] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.253686172072776] Failed to read output from testmodel.py, exit status != 0: 8.71355989004951 8.728760211 8.623133095 Calling exit ...