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.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.001408/0.001408, allocations: 106.4 kB / 16.45 MB, free: 6.508 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.001268/0.001268, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.97 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.02423/0.02423, allocations: 4.709 MB / 307.4 MB, free: 5.242 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_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 0.00188/0.00188, allocations: 63.89 kB / 427.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.1013, allocations: 53.28 MB / 480.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.005255/0.1066, allocations: 2.877 MB / 483.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.108, allocations: 0.6856 MB / 484.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1082, allocations: 8 kB / 484.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1083, allocations: 51.5 kB / 484.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1085, allocations: 83.22 kB / 484.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1089, allocations: 111.8 kB / 484.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.1094, allocations: 406.5 kB / 485 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.1098, allocations: 182 kB / 485.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.11, allocations: 151.5 kB / 485.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1102, allocations: 151.4 kB / 485.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.26e-05/0.1103, allocations: 40 kB / 485.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.335e-05/0.1104, allocations: 44 kB / 485.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1105, allocations: 83.69 kB / 485.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.1107, allocations: 179.2 kB / 485.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.1112, allocations: 426.5 kB / 486.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1113, allocations: 4 kB / 486.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1113, allocations: 0 / 486.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.1113, allocations: 0 / 486.3 MB, free: 9.371 MB / 350.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.001369/0.1126, allocations: 0.6491 MB / 486.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1127, allocations: 8.031 kB / 486.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.862e-05/0.1128, allocations: 74.66 kB / 487 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.1128, allocations: 32.75 kB / 487 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.1132, allocations: 268.9 kB / 487.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.1132, allocations: 20.92 kB / 487.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.1133, allocations: 36.27 kB / 487.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.114, allocations: 339.7 kB / 487.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.114, allocations: 0 / 487.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.1141, allocations: 12 kB / 487.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1141, allocations: 4 kB / 487.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006705/0.1147, allocations: 274 kB / 488 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.1164, allocations: 1.041 MB / 489 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/0.1172, allocations: 290.6 kB / 489.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.1176, allocations: 140.8 kB / 489.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/0.1176, allocations: 4 kB / 489.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004737/0.1181, allocations: 201.5 kB / 489.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.795e-06/0.1181, allocations: 0 / 489.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00112/0.1192, allocations: 432.7 kB / 490 MB, free: 5.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.1193, allocations: 55.41 kB / 490.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.1195, allocations: 229 kB / 490.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.1196, allocations: 25.7 kB / 490.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1197, allocations: 180.2 kB / 490.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.17e-05/0.1198, allocations: 71.39 kB / 490.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1199, allocations: 49.7 kB / 490.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1201, allocations: 334.8 kB / 491 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.1204, allocations: 131.9 kB / 491.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.1208, allocations: 159.3 kB / 491.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.1214, allocations: 310.6 kB / 491.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1214, allocations: 0 / 491.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008283/0.1222, allocations: 388.6 kB / 491.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.1223, allocations: 33.7 kB / 492 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1223, allocations: 3.938 kB / 492 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/0.1223, allocations: 7.938 kB / 492 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.1227, allocations: 63.95 kB / 492 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1227, allocations: 3.984 kB / 492 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.1229, allocations: 39.92 kB / 492.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.1229, allocations: 4 kB / 492.1 MB, free: 3.246 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 (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.0002007/0.1231, allocations: 172.2 kB / 492.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.1232, allocations: 23.8 kB / 492.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007705/0.124, allocations: 335.5 kB / 492.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.124, allocations: 4 kB / 492.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.124, allocations: 0 / 492.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.124, allocations: 0 / 492.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.1244, allocations: 385.4 kB / 493 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1244, allocations: 0 / 493 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.1247, allocations: 59.89 kB / 493 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1247, allocations: 4 kB / 493 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.1248, allocations: 8 kB / 493.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1248, allocations: 3.938 kB / 493.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1248, allocations: 4 kB / 493.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1259, allocations: 0.4925 MB / 493.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.1259, allocations: 108.9 kB / 493.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.126, allocations: 8.062 kB / 493.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1262, allocations: 19.97 kB / 493.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.1263, allocations: 23.97 kB / 493.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.1263, allocations: 8 kB / 493.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.1264, allocations: 168.5 kB / 493.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1264, allocations: 0 / 493.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1268, allocations: 71.89 kB / 494 MB, free: 1.273 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,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.001404/0.1282, allocations: 1.041 MB / 495 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007767/0.1289, allocations: 343.2 kB / 495.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1289, allocations: 0 / 495.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.1293, allocations: 139.8 kB / 495.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1296, allocations: 40.59 kB / 495.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.1343, allocations: 2.942 MB / 498.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.1347, allocations: 0.7787 MB / 499.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.1349, allocations: 29.53 kB / 499.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.135, allocations: 83.41 kB / 499.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.135, allocations: 4 kB / 499.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.1662, allocations: 5.491 MB / 0.493 GB, free: 6.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.345, allocations: 15.98 kB / 0.493 GB, free: 6.316 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.883525224868208] Failed to read output from testmodel.py, exit status != 0: 8.417163776233792 8.439920285 8.324593242 Calling exit ...