Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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.001343/0.001343, 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.001174/0.001174, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9062/0.9062, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.01318/0.01318, allocations: 3.569 MB / 262.8 MB, free: 9.801 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.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 386.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.976e-05, allocations: 5.094 kB / 386.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.002926/0.002946, allocations: 2.713 MB / 389.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.00407, allocations: 0.7439 MB / 390.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.004231, allocations: 8 kB / 390.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.004367, allocations: 47.52 kB / 390.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.004501, allocations: 95.08 kB / 390.4 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.00485, allocations: 123.8 kB / 390.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.00521, allocations: 426.3 kB / 391 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.00547, allocations: 162.3 kB / 391.1 MB, free: 5.543 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.005775, allocations: 239.5 kB / 391.4 MB, free: 5.309 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.005916, allocations: 115.7 kB / 391.5 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.00596, allocations: 48 kB / 391.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-05/0.006026, allocations: 48 kB / 391.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.006086, allocations: 79.73 kB / 391.7 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.006192, allocations: 119.8 kB / 391.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.006551, allocations: 450.8 kB / 392.2 MB, free: 4.465 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.006554, allocations: 0 / 392.2 MB, free: 4.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.006556, allocations: 3.938 kB / 392.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.006562, allocations: 0 / 392.2 MB, free: 4.461 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000867/0.007429, allocations: 0.5846 MB / 392.8 MB, free: 3.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.007467, allocations: 8.031 kB / 392.8 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.007513, allocations: 58.73 kB / 392.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.007682, allocations: 64.66 kB / 392.9 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.007933, allocations: 225.3 kB / 393.2 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.00795, allocations: 20.88 kB / 393.2 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.007988, allocations: 24.38 kB / 393.2 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.008435, allocations: 335.2 kB / 393.5 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.008445, allocations: 192 / 393.5 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.008469, allocations: 8.125 kB / 393.5 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.008475, allocations: 8 kB / 393.5 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.008858, allocations: 281.7 kB / 393.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.009941, allocations: 0.8699 MB / 394.7 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.01044, allocations: 286.7 kB / 395 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.01064, allocations: 145 kB / 395.1 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.01066, allocations: 11.98 kB / 395.1 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.01095, allocations: 190.5 kB / 395.3 MB, free: 1.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.01095, allocations: 0 / 395.3 MB, free: 1.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006617/0.01162, allocations: 421.2 kB / 395.7 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.01167, allocations: 55.34 kB / 395.8 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.01188, allocations: 245.7 kB / 396 MB, free: 500 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.01191, allocations: 37.64 kB / 396 MB, free: 456 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01204, allocations: 168.3 kB / 396.2 MB, free: 284 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.0121, allocations: 79.31 kB / 396.3 MB, free: 204 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.01218, allocations: 49.69 kB / 396.3 MB, free: 148 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.0123, allocations: 338.8 kB / 396.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.01252, allocations: 149.6 kB / 396.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.01273, allocations: 190 kB / 397 MB, free: 15.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.01314, allocations: 315.3 kB / 397.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01314, allocations: 0 / 397.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000543/0.01368, allocations: 424.4 kB / 397.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.01373, allocations: 38.42 kB / 397.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.01373, allocations: 0 / 397.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.01375, allocations: 4 kB / 397.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.01396, allocations: 59.95 kB / 397.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.01397, allocations: 3.938 kB / 397.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.0141, allocations: 43.91 kB / 397.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.01412, allocations: 12 kB / 397.9 MB, free: 14.53 MB / 330.7 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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.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.0001498/0.01427, allocations: 160.6 kB / 398 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.0143, allocations: 23.86 kB / 398.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.01477, allocations: 335 kB / 398.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.01477, allocations: 7.922 kB / 398.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01478, allocations: 0 / 398.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01478, allocations: 4 kB / 398.4 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.01505, allocations: 312.5 kB / 398.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01506, allocations: 4 kB / 398.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.01524, allocations: 55.95 kB / 398.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01524, allocations: 0 / 398.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.01526, allocations: 7.984 kB / 398.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.01526, allocations: 11.88 kB / 398.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01527, allocations: 3.938 kB / 398.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.01589, allocations: 0.4927 MB / 399.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.01593, allocations: 23.83 kB / 399.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.01596, allocations: 8 kB / 399.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.01604, allocations: 23.91 kB / 399.3 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.01611, allocations: 27.89 kB / 399.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.01613, allocations: 12.06 kB / 399.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.01624, allocations: 173.2 kB / 399.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01624, allocations: 0 / 399.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.01647, allocations: 71.84 kB / 399.6 MB, free: 12.73 MB / 330.7 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,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.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.0008911/0.01736, allocations: 1.038 MB / 400.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.01783, allocations: 375.9 kB / 401 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01784, allocations: 0 / 401 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.01801, allocations: 131.9 kB / 401.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.01825, allocations: 43.73 kB / 401.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.02108, allocations: 3.043 MB / 404.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.02119, allocations: 166.5 kB / 404.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.616e-05/0.02128, allocations: 37.61 kB / 404.4 MB, free: 7.711 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.0214, allocations: 92.45 kB / 404.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0214, allocations: 0 / 404.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.03948, allocations: 6.375 MB / 410.9 MB, free: 1.398 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/6.869, allocations: 0 / 410.9 MB, free: 1.398 MB / 330.7 MB " [Timeout remaining time 653] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs_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_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.829376683570445] Failed to read output from testmodel.py, exit status != 0: 7.108187051489949 7.12189971 7.112547489 Calling exit ...