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.001612/0.001612, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001762/0.001762, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.02663/0.02663, allocations: 4.718 MB / 317.9 MB, free: 14.62 MB / 254.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.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: translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") [Timeout 660] "Notification: FastBuildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.89 kB / 442.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09845, allocations: 54.5 MB / 497 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004794/0.1032, allocations: 2.926 MB / 499.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1047, allocations: 0.7713 MB / 0.489 GB, free: 15.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1048, allocations: 8 kB / 0.489 GB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.105, allocations: 47.52 kB / 0.489 GB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1052, allocations: 87.2 kB / 0.4891 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1056, allocations: 135.7 kB / 0.4892 GB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.1061, allocations: 410.5 kB / 0.4896 GB, free: 14.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.1064, allocations: 170.4 kB / 0.4898 GB, free: 14.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.1068, allocations: 159.5 kB / 0.4899 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.107, allocations: 159.4 kB / 0.4901 GB, free: 13.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.1071, allocations: 40 kB / 0.4901 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.17e-05/0.1072, allocations: 52 kB / 0.4902 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.1073, allocations: 83.75 kB / 0.4903 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1074, allocations: 175.2 kB / 0.4904 GB, free: 13.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.108, allocations: 434.5 kB / 0.4908 GB, free: 13.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.108, allocations: 0 / 0.4908 GB, free: 13.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.108, allocations: 3.938 kB / 0.4908 GB, free: 13.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.108, allocations: 0 / 0.4908 GB, free: 13.17 MB / 366.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.001336/0.1094, allocations: 0.5877 MB / 0.4914 GB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1094, allocations: 8.031 kB / 0.4914 GB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.1097, allocations: 48.73 kB / 0.4915 GB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.11, allocations: 229.9 kB / 0.4917 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.11, allocations: 16.88 kB / 0.4917 GB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.1101, allocations: 32.3 kB / 0.4917 GB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.1108, allocations: 339 kB / 0.4921 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1109, allocations: 0 / 0.4921 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.1109, allocations: 8 kB / 0.4921 GB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1109, allocations: 8 kB / 0.4921 GB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007371/0.1116, allocations: 285.7 kB / 0.4923 GB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.1133, allocations: 1.006 MB / 0.4933 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008043/0.1142, allocations: 294 kB / 0.4936 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.1145, allocations: 144.8 kB / 0.4937 GB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1145, allocations: 0 / 0.4937 GB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.115, allocations: 196.8 kB / 0.4939 GB, free: 9.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.115, allocations: 8 kB / 0.4939 GB, free: 9.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00106/0.1161, allocations: 416 kB / 0.4943 GB, free: 9.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.1161, allocations: 59.41 kB / 0.4944 GB, free: 9.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1164, allocations: 236.9 kB / 0.4946 GB, free: 9.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.1164, allocations: 33.7 kB / 0.4946 GB, free: 9.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1165, allocations: 168.3 kB / 0.4948 GB, free: 8.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.1166, allocations: 83.25 kB / 0.4949 GB, free: 8.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.1167, allocations: 49.7 kB / 0.4949 GB, free: 8.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1169, allocations: 330.8 kB / 0.4953 GB, free: 8.441 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.1172, allocations: 123.9 kB / 0.4954 GB, free: 8.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.1176, allocations: 171.3 kB / 0.4955 GB, free: 8.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.1182, allocations: 313.2 kB / 0.4958 GB, free: 7.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1182, allocations: 0 / 0.4958 GB, free: 7.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008449/0.1191, allocations: 386 kB / 0.4962 GB, free: 7.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.1191, allocations: 37.7 kB / 0.4962 GB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1191, allocations: 96 / 0.4962 GB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1191, allocations: 8 kB / 0.4962 GB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.1195, allocations: 59.89 kB / 0.4963 GB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1195, allocations: 4 kB / 0.4963 GB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.1197, allocations: 35.86 kB / 0.4963 GB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.1197, allocations: 8 kB / 0.4963 GB, free: 7.273 MB / 366.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.0002081/0.1199, allocations: 161.8 kB / 0.4965 GB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.12, allocations: 27.8 kB / 0.4965 GB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008665/0.1209, allocations: 335.7 kB / 0.4968 GB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1209, allocations: 4 kB / 0.4969 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1209, allocations: 0 / 0.4969 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1209, allocations: 0 / 0.4969 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.1213, allocations: 364.3 kB / 0.4972 GB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1213, allocations: 3.938 kB / 0.4972 GB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.1217, allocations: 63.95 kB / 0.4973 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1217, allocations: 3.938 kB / 0.4973 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.1217, allocations: 0 / 0.4973 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.1217, allocations: 7.984 kB / 0.4973 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1217, allocations: 3.938 kB / 0.4973 GB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.1228, allocations: 0.4966 MB / 0.4978 GB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.1229, allocations: 27.72 kB / 0.4978 GB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.1229, allocations: 8 kB / 0.4978 GB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1231, allocations: 23.97 kB / 0.4978 GB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.1232, allocations: 23.95 kB / 0.4978 GB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.1232, allocations: 12.06 kB / 0.4979 GB, free: 5.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.1235, allocations: 172.5 kB / 0.498 GB, free: 5.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1235, allocations: 4 kB / 0.498 GB, free: 5.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000317/0.1238, allocations: 63.89 kB / 0.4981 GB, free: 5.414 MB / 366.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.0001304/0.1239, allocations: 99.25 kB / 0.4982 GB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.1248, allocations: 351.1 kB / 0.4985 GB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1248, allocations: 0 / 0.4985 GB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.1251, allocations: 135.8 kB / 0.4986 GB, free: 4.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1255, allocations: 32.42 kB / 0.4987 GB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1269, allocations: 0.6589 MB / 0.4993 GB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.1273, allocations: 0.771 MB / 0.5001 GB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1274, allocations: 27.44 kB / 0.5001 GB, free: 3.277 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1274, allocations: 0 / 0.5001 GB, free: 3.277 MB / 366.1 MB Notification: Performance of Templates: time 0.006478/0.1339, allocations: 3.544 MB / 0.5036 GB, free: 15.74 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile [Timeout 660] (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 & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.15062419208698] Failed to read output from testmodel.py, exit status != 0: 0.14270546194165945 0.15891507800000002 0.047645626 Calling exit ...