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.001392/0.001392, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001474/0.001474, allocations: 219.3 kB / 22.99 MB, free: 4.914 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.02595/0.02595, allocations: 4.72 MB / 317.9 MB, free: 14.33 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.002022/0.002022, allocations: 67.91 kB / 442.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1137, allocations: 54.5 MB / 496.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005744/0.1195, allocations: 3.646 MB / 0.4888 GB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1216, allocations: 0.9621 MB / 0.4898 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1218, allocations: 11.94 kB / 0.4898 GB, free: 13.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.122, allocations: 87.16 kB / 0.4899 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.1223, allocations: 174.5 kB / 0.49 GB, free: 13.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.1229, allocations: 191.7 kB / 0.4902 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008735/0.1238, allocations: 0.7597 MB / 0.491 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006025/0.1244, allocations: 324.8 kB / 0.4913 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.1248, allocations: 307.1 kB / 0.4916 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.1252, allocations: 258.7 kB / 0.4918 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.1253, allocations: 84 kB / 0.4919 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.1255, allocations: 91.98 kB / 0.492 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.1256, allocations: 151.6 kB / 0.4921 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.1259, allocations: 278.9 kB / 0.4924 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009895/0.1269, allocations: 0.8526 MB / 0.4932 GB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1269, allocations: 0 / 0.4932 GB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1269, allocations: 0 / 0.4932 GB, free: 10.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1269, allocations: 0 / 0.4932 GB, free: 10.09 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.001737/0.1287, allocations: 0.8466 MB / 0.494 GB, free: 9.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1287, allocations: 8.031 kB / 0.4941 GB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.1291, allocations: 92.48 kB / 0.4941 GB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.1297, allocations: 338.1 kB / 0.4945 GB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.1297, allocations: 41.31 kB / 0.4945 GB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.775e-05/0.1298, allocations: 48.38 kB / 0.4945 GB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.131, allocations: 0.589 MB / 0.4951 GB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.131, allocations: 0 / 0.4951 GB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.1311, allocations: 20 kB / 0.4951 GB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.1311, allocations: 12 kB / 0.4952 GB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.1321, allocations: 475.6 kB / 0.4956 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.1348, allocations: 1.485 MB / 0.4971 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/0.1356, allocations: 389.7 kB / 0.4974 GB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.1361, allocations: 255.9 kB / 0.4977 GB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.1361, allocations: 12.22 kB / 0.4977 GB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006665/0.1368, allocations: 305.8 kB / 0.498 GB, free: 5.051 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.943e-06/0.1368, allocations: 0 / 0.498 GB, free: 5.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.00154/0.1383, allocations: 0.6559 MB / 0.4986 GB, free: 4.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.1384, allocations: 89.09 kB / 0.4987 GB, free: 4.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.1388, allocations: 308.6 kB / 0.499 GB, free: 3.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.1388, allocations: 37.7 kB / 0.499 GB, free: 3.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.1391, allocations: 272.3 kB / 0.4993 GB, free: 3.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1392, allocations: 138.8 kB / 0.4994 GB, free: 3.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1394, allocations: 78.08 kB / 0.4995 GB, free: 3.438 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1396, allocations: 354.7 kB / 0.4998 GB, free: 3.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.1401, allocations: 238.5 kB / 0.5001 GB, free: 2.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.1406, allocations: 305.1 kB / 0.5004 GB, free: 2.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.1416, allocations: 0.5022 MB / 0.5008 GB, free: 1.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1416, allocations: 3.938 kB / 0.5008 GB, free: 1.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001246/0.1428, allocations: 0.6229 MB / 0.5015 GB, free: 1.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.1429, allocations: 29.7 kB / 0.5015 GB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1429, allocations: 4 kB / 0.5015 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1429, allocations: 4 kB / 0.5015 GB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.1435, allocations: 127.8 kB / 0.5016 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1435, allocations: 4 kB / 0.5016 GB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.1438, allocations: 51.94 kB / 0.5017 GB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.1438, allocations: 12 kB / 0.5017 GB, free: 1.102 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.000301/0.1441, allocations: 217.7 kB / 0.5019 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.1442, allocations: 35.77 kB / 0.5019 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/0.1451, allocations: 465.4 kB / 0.5024 GB, free: 392 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.1452, allocations: 7.984 kB / 0.5024 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1452, allocations: 0 / 0.5024 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1452, allocations: 7.984 kB / 0.5024 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.1458, allocations: 444.9 kB / 0.5028 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1458, allocations: 4 kB / 0.5028 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.1463, allocations: 107.9 kB / 0.5029 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.082e-05/0.1464, allocations: 7.984 kB / 0.5029 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.1464, allocations: 8 kB / 0.5029 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.1464, allocations: 0 / 0.5029 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1464, allocations: 0 / 0.5029 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.148, allocations: 0.7897 MB / 0.5037 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.1481, allocations: 39.75 kB / 0.5037 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.1481, allocations: 12 kB / 0.5037 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.1484, allocations: 27.97 kB / 0.5038 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1485, allocations: 35.94 kB / 0.5038 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.1485, allocations: 8 kB / 0.5038 GB, free: 14.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1488, allocations: 235 kB / 0.504 GB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1488, allocations: 0 / 0.504 GB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.1492, allocations: 139.6 kB / 0.5042 GB, free: 14.48 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.0001367/0.1494, allocations: 107.2 kB / 0.5043 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.1505, allocations: 0.5374 MB / 0.5048 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1505, allocations: 0 / 0.5048 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004979/0.151, allocations: 227.7 kB / 0.505 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1514, allocations: 66.33 kB / 0.5051 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.1538, allocations: 1.202 MB / 0.5063 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.1541, allocations: 259.9 kB / 0.5065 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.1543, allocations: 43.41 kB / 0.5065 GB, free: 11.96 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1543, allocations: 0 / 0.5065 GB, free: 11.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01021/0.1645, allocations: 6.194 MB / 0.5126 GB, free: 5.773 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.484650879632682] Failed to read output from testmodel.py, exit status != 0: 0.1725442260503769 0.387832599 0.25804767100000003 Calling exit ...