Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.001325/0.001325, allocations: 110.2 kB / 19.69 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.001488/0.001488, allocations: 213 kB / 23.01 MB, free: 4.566 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.02704/0.02704, allocations: 4.719 MB / 317.9 MB, free: 14.52 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.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_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.002057/0.002057, allocations: 71.88 kB / 442.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09522, allocations: 54.49 MB / 497 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005673/0.1009, allocations: 4.03 MB / 0.4893 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1025, allocations: 0.9933 MB / 0.4903 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.1028, allocations: 11.94 kB / 0.4903 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.103, allocations: 83.17 kB / 0.4903 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1033, allocations: 178.5 kB / 0.4905 GB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.1038, allocations: 195.7 kB / 0.4907 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.1046, allocations: 0.7558 MB / 0.4914 GB, free: 12.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.1052, allocations: 356.8 kB / 0.4918 GB, free: 12.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.1056, allocations: 291.1 kB / 0.4921 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003901/0.106, allocations: 302.7 kB / 0.4923 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1061, allocations: 84 kB / 0.4924 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.1063, allocations: 92 kB / 0.4925 GB, free: 11.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1064, allocations: 159.5 kB / 0.4927 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.1068, allocations: 346.5 kB / 0.493 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009247/0.1077, allocations: 0.8447 MB / 0.4938 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1077, allocations: 4 kB / 0.4938 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1077, allocations: 0 / 0.4938 GB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1077, allocations: 0 / 0.4938 GB, free: 10.02 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001712/0.1094, allocations: 0.8388 MB / 0.4946 GB, free: 9.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1094, allocations: 12.03 kB / 0.4947 GB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/0.1099, allocations: 96.47 kB / 0.4947 GB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.1104, allocations: 342.1 kB / 0.4951 GB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.1104, allocations: 29.38 kB / 0.4951 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1105, allocations: 52.38 kB / 0.4952 GB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.1117, allocations: 0.5929 MB / 0.4957 GB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1117, allocations: 0 / 0.4957 GB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.1118, allocations: 23.94 kB / 0.4958 GB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1118, allocations: 8 kB / 0.4958 GB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.1128, allocations: 479.6 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.1157, allocations: 1.84 MB / 0.498 GB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/0.1165, allocations: 403.3 kB / 0.4984 GB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.1171, allocations: 258.2 kB / 0.4986 GB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.1171, allocations: 8.281 kB / 0.4987 GB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006553/0.1178, allocations: 305.8 kB / 0.4989 GB, free: 4.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.583e-06/0.1178, allocations: 0 / 0.4989 GB, free: 4.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.001571/0.1193, allocations: 0.6637 MB / 0.4996 GB, free: 3.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.1194, allocations: 85.11 kB / 0.4997 GB, free: 3.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.1198, allocations: 336.5 kB / 0.5 GB, free: 3.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.1199, allocations: 33.7 kB / 0.5 GB, free: 3.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.1201, allocations: 268.4 kB / 0.5003 GB, free: 3.164 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1203, allocations: 138.8 kB / 0.5004 GB, free: 3.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.1204, allocations: 74.12 kB / 0.5005 GB, free: 2.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1206, allocations: 354.7 kB / 0.5008 GB, free: 2.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.1211, allocations: 204.8 kB / 0.501 GB, free: 2.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.1216, allocations: 275.4 kB / 0.5013 GB, free: 2.094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.1226, allocations: 0.4982 MB / 0.5018 GB, free: 1.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1226, allocations: 0 / 0.5018 GB, free: 1.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001242/0.1239, allocations: 0.5939 MB / 0.5024 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.1239, allocations: 33.7 kB / 0.5024 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1239, allocations: 0 / 0.5024 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1239, allocations: 4 kB / 0.5024 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.1245, allocations: 132 kB / 0.5025 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.1245, allocations: 4 kB / 0.5025 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.1249, allocations: 55.7 kB / 0.5026 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.1249, allocations: 16 kB / 0.5026 GB, free: 0.7148 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0002615/0.1252, allocations: 219.3 kB / 0.5028 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.1252, allocations: 39.7 kB / 0.5028 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009643/0.1262, allocations: 465.5 kB / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1262, allocations: 4 kB / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1262, allocations: 4.125 kB / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1262, allocations: 3.938 kB / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007167/0.1269, allocations: 0.5743 MB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1269, allocations: 0 / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.1275, allocations: 103.9 kB / 0.5039 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1275, allocations: 8 kB / 0.504 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.1276, allocations: 15.98 kB / 0.504 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1276, allocations: 0 / 0.504 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1276, allocations: 4.062 kB / 0.504 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.1292, allocations: 0.7974 MB / 0.5048 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.1293, allocations: 43.75 kB / 0.5048 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.1294, allocations: 8 kB / 0.5048 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.1296, allocations: 27.97 kB / 0.5048 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.1297, allocations: 31.94 kB / 0.5049 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.1297, allocations: 16 kB / 0.5049 GB, free: 14.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.13, allocations: 243 kB / 0.5051 GB, free: 14.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.13, allocations: 0 / 0.5051 GB, free: 14.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.1304, allocations: 135.7 kB / 0.5052 GB, free: 13.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.0001273/0.1306, allocations: 111.2 kB / 0.5053 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.1317, allocations: 0.5081 MB / 0.5058 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1317, allocations: 0 / 0.5058 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.1322, allocations: 231.7 kB / 0.5061 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1326, allocations: 61.77 kB / 0.5061 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.1348, allocations: 1.203 MB / 0.5073 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.1354, allocations: 0.8696 MB / 0.5081 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.1355, allocations: 39.42 kB / 0.5082 GB, free: 10.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1355, allocations: 0 / 0.5082 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Templates: time 0.009162/0.1447, allocations: 6.033 MB / 0.5141 GB, free: 4.789 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3878373329062015] Failed to read output from testmodel.py, exit status != 0: 0.1522414400242269 0.31291120999999994 0.202512732 Calling exit ...