Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001434/0.001434, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001746/0.001746, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.805 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.02617/0.02617, allocations: 4.718 MB / 317.1 MB, free: 14.32 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_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") [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.002234/0.002234, allocations: 67.91 kB / 441.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.124, allocations: 54.5 MB / 496.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.005247/0.1293, allocations: 2.712 MB / 498.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1313, allocations: 0.7168 MB / 499.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.1316, allocations: 7.938 kB / 499.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.1319, allocations: 39.58 kB / 499.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1322, allocations: 95.14 kB / 499.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.1327, allocations: 123.8 kB / 499.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.1333, allocations: 386.5 kB / 0.4885 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.1337, allocations: 132.8 kB / 0.4886 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.134, allocations: 147.5 kB / 0.4888 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.1343, allocations: 139.4 kB / 0.4889 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.1344, allocations: 40 kB / 0.4889 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1345, allocations: 44 kB / 0.489 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1346, allocations: 79.7 kB / 0.4891 GB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1348, allocations: 139.4 kB / 0.4892 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.1354, allocations: 406.5 kB / 0.4896 GB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.1354, allocations: 3.984 kB / 0.4896 GB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.1354, allocations: 0 / 0.4896 GB, free: 13.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.1355, allocations: 0 / 0.4896 GB, free: 13.05 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.001521/0.137, allocations: 0.5692 MB / 0.4901 GB, free: 12.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.137, allocations: 12.03 kB / 0.4902 GB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.1373, allocations: 56.66 kB / 0.4902 GB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.1377, allocations: 218 kB / 0.4904 GB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1377, allocations: 20.86 kB / 0.4904 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.1378, allocations: 24.38 kB / 0.4905 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.1385, allocations: 311 kB / 0.4908 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1385, allocations: 7.938 kB / 0.4908 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.1385, allocations: 8 kB / 0.4908 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1386, allocations: 8 kB / 0.4908 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006585/0.1392, allocations: 237.8 kB / 0.491 GB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.1409, allocations: 0.7962 MB / 0.4918 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/0.1417, allocations: 262 kB / 0.492 GB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.142, allocations: 136.7 kB / 0.4922 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.1421, allocations: 4 kB / 0.4922 GB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004843/0.1426, allocations: 175.3 kB / 0.4923 GB, free: 10.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.625e-06/0.1426, allocations: 0 / 0.4923 GB, free: 10.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001113/0.1437, allocations: 379.1 kB / 0.4927 GB, free: 9.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.1437, allocations: 59.34 kB / 0.4928 GB, free: 9.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.1441, allocations: 220 kB / 0.493 GB, free: 9.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.1441, allocations: 29.7 kB / 0.493 GB, free: 9.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.1443, allocations: 176.6 kB / 0.4932 GB, free: 9.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.058e-05/0.1444, allocations: 71.38 kB / 0.4932 GB, free: 9.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.1445, allocations: 53.64 kB / 0.4933 GB, free: 9.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1447, allocations: 338.8 kB / 0.4936 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.145, allocations: 133.6 kB / 0.4937 GB, free: 8.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.1454, allocations: 181 kB / 0.4939 GB, free: 8.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/0.1461, allocations: 289.2 kB / 0.4942 GB, free: 8.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1461, allocations: 0 / 0.4942 GB, free: 8.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008969/0.147, allocations: 379.8 kB / 0.4945 GB, free: 7.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/0.147, allocations: 41.62 kB / 0.4946 GB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.147, allocations: 4.094 kB / 0.4946 GB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.1471, allocations: 4 kB / 0.4946 GB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.1474, allocations: 63.89 kB / 0.4946 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1474, allocations: 4 kB / 0.4947 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.1477, allocations: 27.88 kB / 0.4947 GB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.1477, allocations: 11.98 kB / 0.4947 GB, free: 7.562 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 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.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.0002252/0.1479, allocations: 153.8 kB / 0.4948 GB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.148, allocations: 23.8 kB / 0.4949 GB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/0.1488, allocations: 309 kB / 0.4952 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.1488, allocations: 4 kB / 0.4952 GB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1488, allocations: 3.984 kB / 0.4952 GB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1488, allocations: 0 / 0.4952 GB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.1492, allocations: 269 kB / 0.4954 GB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1492, allocations: 0 / 0.4954 GB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.1496, allocations: 59.95 kB / 0.4955 GB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1496, allocations: 0 / 0.4955 GB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.1496, allocations: 4 kB / 0.4955 GB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.1496, allocations: 7.938 kB / 0.4955 GB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1496, allocations: 3.938 kB / 0.4955 GB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.1508, allocations: 455.1 kB / 0.4959 GB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.1508, allocations: 23.83 kB / 0.4959 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.1509, allocations: 4 kB / 0.496 GB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.1511, allocations: 23.91 kB / 0.496 GB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1512, allocations: 23.97 kB / 0.496 GB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1512, allocations: 7.984 kB / 0.496 GB, free: 6.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1514, allocations: 149.6 kB / 0.4961 GB, free: 6.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1514, allocations: 0 / 0.4961 GB, free: 6.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000372/0.1518, allocations: 71.89 kB / 0.4962 GB, free: 5.941 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,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (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.0001716/0.1519, allocations: 107.2 kB / 0.4963 GB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008548/0.1528, allocations: 330.6 kB / 0.4966 GB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1528, allocations: 0 / 0.4966 GB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.1531, allocations: 124 kB / 0.4968 GB, free: 5.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1535, allocations: 48.34 kB / 0.4968 GB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1551, allocations: 0.6069 MB / 0.4974 GB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.1553, allocations: 158.5 kB / 0.4975 GB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.1554, allocations: 29.62 kB / 0.4976 GB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.1555, allocations: 15.44 kB / 0.4976 GB, free: 4.465 MB / 366.1 MB Notification: Performance of SimCode: time 1.382e-06/0.1555, allocations: 4 kB / 0.4976 GB, free: 4.461 MB / 366.1 MB Notification: Performance of Templates: time 0.007577/0.1631, allocations: 2.912 MB / 0.5004 GB, free: 1.586 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.081486564129591] Failed to read output from testmodel.py, exit status != 0: 0.17349110543727875 0.19403044199999994 0.053746268999999944 Calling exit ...