Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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.0007485/0.0007485, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009227/0.0009227, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.925/0.925, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.02357/0.02357, allocations: 3.568 MB / 262.8 MB, free: 9.797 MB / 250.7 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.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(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 386.8 MB, free: 9.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.098e-05, allocations: 9.234 kB / 386.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002866/0.002887, allocations: 1.651 MB / 388.4 MB, free: 8.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000975/0.003862, allocations: 0.5259 MB / 389 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.003958, allocations: 0 / 389 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.004066, allocations: 15.86 kB / 389 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.004146, allocations: 19.69 kB / 389 MB, free: 7.684 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.004467, allocations: 63.8 kB / 389.1 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.004679, allocations: 127.5 kB / 389.2 MB, free: 7.496 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.004833, allocations: 33.08 kB / 389.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.005068, allocations: 83.73 kB / 389.3 MB, free: 7.379 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.888e-05/0.005167, allocations: 47.81 kB / 389.3 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.005196, allocations: 8 kB / 389.4 MB, free: 7.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.00525, allocations: 16 kB / 389.4 MB, free: 7.309 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.005291, allocations: 19.92 kB / 389.4 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.005351, allocations: 35.89 kB / 389.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.005557, allocations: 111.6 kB / 389.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005559, allocations: 0 / 389.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.00556, allocations: 0 / 389.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005565, allocations: 4 kB / 389.5 MB, free: 7.141 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007606/0.006326, allocations: 406.7 kB / 389.9 MB, free: 6.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.006375, allocations: 8.031 kB / 389.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.695e-05/0.006472, allocations: 50.83 kB / 390 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.006636, allocations: 32.83 kB / 390 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.006939, allocations: 149.5 kB / 390.2 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.006959, allocations: 16.55 kB / 390.2 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.006981, allocations: 16.36 kB / 390.2 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.007314, allocations: 185.4 kB / 390.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.007324, allocations: 0 / 390.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.007337, allocations: 3.984 kB / 390.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.007344, allocations: 4 kB / 390.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.00757, allocations: 135.8 kB / 390.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.00821, allocations: 0.68 MB / 391.2 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.00844, allocations: 165 kB / 391.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.008555, allocations: 88.23 kB / 391.5 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.008576, allocations: 3.938 kB / 391.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.008808, allocations: 163.5 kB / 391.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.00881, allocations: 0 / 391.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004456/0.009255, allocations: 229.5 kB / 391.8 MB, free: 4.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.009319, allocations: 162.2 kB / 392 MB, free: 4.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.009431, allocations: 167.3 kB / 392.2 MB, free: 4.234 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.009449, allocations: 41.62 kB / 392.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.009508, allocations: 120 kB / 392.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.009529, allocations: 31.81 kB / 392.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.009573, allocations: 30.02 kB / 392.4 MB, free: 4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.00965, allocations: 326.8 kB / 392.7 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.00978, allocations: 85.58 kB / 392.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.009907, allocations: 125.9 kB / 392.9 MB, free: 3.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.01013, allocations: 177.8 kB / 393.1 MB, free: 3.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.01013, allocations: 3.938 kB / 393.1 MB, free: 3.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003117/0.01045, allocations: 248.9 kB / 393.3 MB, free: 2.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.01048, allocations: 33.7 kB / 393.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01049, allocations: 0 / 393.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.0105, allocations: 4 kB / 393.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/0.0106, allocations: 23.97 kB / 393.4 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.01061, allocations: 4 kB / 393.4 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.01069, allocations: 23.94 kB / 393.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.0107, allocations: 7.984 kB / 393.4 MB, free: 2.875 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 10 * 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 9.458e-05/0.0108, allocations: 137.7 kB / 393.6 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.01082, allocations: 15.91 kB / 393.6 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.01097, allocations: 86.67 kB / 393.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.01098, allocations: 4 kB / 393.7 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01098, allocations: 0 / 393.7 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01098, allocations: 3.938 kB / 393.7 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.01121, allocations: 305.5 kB / 394 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01121, allocations: 4.062 kB / 394 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.01128, allocations: 32.03 kB / 394 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01128, allocations: 0 / 394 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.0113, allocations: 8 kB / 394 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.0113, allocations: 0 / 394 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0113, allocations: 3.938 kB / 394 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.01159, allocations: 290.8 kB / 394.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.0116, allocations: 11.95 kB / 394.3 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.01162, allocations: 15.92 kB / 394.3 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.0117, allocations: 19.97 kB / 394.3 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.01177, allocations: 19.91 kB / 394.4 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.01178, allocations: 4 kB / 394.4 MB, free: 1.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.977e-05/0.01186, allocations: 131.2 kB / 394.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01186, allocations: 0 / 394.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000198/0.01206, allocations: 23.95 kB / 394.5 MB, free: 1.688 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.0005846/0.01264, allocations: 0.8914 MB / 395.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.01294, allocations: 220.9 kB / 395.6 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01294, allocations: 0 / 395.6 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.01308, allocations: 83.86 kB / 395.7 MB, free: 452 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.01342, allocations: 22.73 kB / 395.7 MB, free: 432 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.01546, allocations: 2.178 MB / 397.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.877e-05/0.01555, allocations: 109.5 kB / 398 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.647e-05/0.0156, allocations: 16.48 kB / 398 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.01569, allocations: 44.48 kB / 398.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01569, allocations: 0 / 398.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.03197, allocations: 3.774 MB / 401.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/6.804, allocations: 13.92 kB / 401.9 MB, free: 10.23 MB / 330.7 MB " [Timeout remaining time 653] (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Input.SIM_ArtificialInput_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_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.769230393692851] Failed to read output from testmodel.py, exit status != 0: 6.884087118320167 7.020331265 7.012347556 Calling exit ...