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.00133/0.00133, 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.001606/0.001606, allocations: 220.3 kB / 23 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.02554/0.02554, allocations: 4.717 MB / 317.9 MB, free: 14.34 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.00205/0.00205, allocations: 67.91 kB / 442.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1147, allocations: 54.49 MB / 496.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004417/0.1192, allocations: 2.716 MB / 499.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1207, allocations: 0.7129 MB / 0.4886 GB, free: 14.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1208, allocations: 7.938 kB / 0.4886 GB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.121, allocations: 47.58 kB / 0.4887 GB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1212, allocations: 91.14 kB / 0.4888 GB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.1216, allocations: 119.8 kB / 0.4889 GB, free: 14.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.1221, allocations: 390.5 kB / 0.4892 GB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.1225, allocations: 132.8 kB / 0.4894 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.1228, allocations: 151.5 kB / 0.4895 GB, free: 13.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.123, allocations: 139.3 kB / 0.4897 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.1231, allocations: 40 kB / 0.4897 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1232, allocations: 40 kB / 0.4897 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.1233, allocations: 79.7 kB / 0.4898 GB, free: 13.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.1234, allocations: 139.4 kB / 0.4899 GB, free: 13.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.1239, allocations: 398.6 kB / 0.4903 GB, free: 13.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.124, allocations: 0 / 0.4903 GB, free: 13.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.124, allocations: 0 / 0.4903 GB, free: 13.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.124, allocations: 3.984 kB / 0.4903 GB, free: 13.1 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.001266/0.1252, allocations: 0.5731 MB / 0.4909 GB, free: 12.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1253, allocations: 11.97 kB / 0.4909 GB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.1255, allocations: 56.72 kB / 0.4909 GB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1259, allocations: 222 kB / 0.4912 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1259, allocations: 16.88 kB / 0.4912 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.126, allocations: 28.38 kB / 0.4912 GB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.1266, allocations: 315 kB / 0.4915 GB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1266, allocations: 0 / 0.4915 GB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.1267, allocations: 8 kB / 0.4915 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1267, allocations: 8 kB / 0.4915 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.1273, allocations: 245.8 kB / 0.4917 GB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.1287, allocations: 0.7963 MB / 0.4925 GB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.1295, allocations: 263 kB / 0.4928 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.1298, allocations: 132.7 kB / 0.4929 GB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1298, allocations: 8 kB / 0.4929 GB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004298/0.1303, allocations: 178 kB / 0.4931 GB, free: 10.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.1303, allocations: 4 kB / 0.4931 GB, free: 10.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009912/0.1313, allocations: 377.2 kB / 0.4934 GB, free: 9.754 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1313, allocations: 55.34 kB / 0.4935 GB, free: 9.688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1315, allocations: 223.9 kB / 0.4937 GB, free: 9.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.1316, allocations: 33.7 kB / 0.4937 GB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1317, allocations: 168.6 kB / 0.4939 GB, free: 9.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.1318, allocations: 71.39 kB / 0.494 GB, free: 9.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.1319, allocations: 53.64 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.1321, allocations: 334.8 kB / 0.4943 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.1325, allocations: 133.6 kB / 0.4945 GB, free: 8.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.1328, allocations: 185 kB / 0.4946 GB, free: 8.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.1335, allocations: 281.2 kB / 0.4949 GB, free: 8.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1335, allocations: 0 / 0.4949 GB, free: 8.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007697/0.1342, allocations: 383.8 kB / 0.4953 GB, free: 7.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.1343, allocations: 41.62 kB / 0.4953 GB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1343, allocations: 0 / 0.4953 GB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1343, allocations: 3.938 kB / 0.4953 GB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.1346, allocations: 64.05 kB / 0.4954 GB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1346, allocations: 11.98 kB / 0.4954 GB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.1348, allocations: 27.88 kB / 0.4954 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.1349, allocations: 11.98 kB / 0.4954 GB, free: 7.598 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.0001731/0.135, allocations: 149.8 kB / 0.4956 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1351, allocations: 27.8 kB / 0.4956 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007673/0.1358, allocations: 308.8 kB / 0.4959 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1359, allocations: 0 / 0.4959 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1359, allocations: 0 / 0.4959 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1359, allocations: 4 kB / 0.4959 GB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.1363, allocations: 269.1 kB / 0.4962 GB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1363, allocations: 0 / 0.4962 GB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.1366, allocations: 55.95 kB / 0.4962 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1366, allocations: 0 / 0.4962 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.1366, allocations: 4 kB / 0.4962 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.1366, allocations: 15.88 kB / 0.4962 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1367, allocations: 0 / 0.4962 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1377, allocations: 450.8 kB / 0.4967 GB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.1378, allocations: 19.83 kB / 0.4967 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.1378, allocations: 12 kB / 0.4967 GB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.138, allocations: 43.83 kB / 0.4967 GB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.1381, allocations: 15.97 kB / 0.4967 GB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.1381, allocations: 7.984 kB / 0.4968 GB, free: 6.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.1383, allocations: 157.6 kB / 0.4969 GB, free: 6.031 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1383, allocations: 0 / 0.4969 GB, free: 6.031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.1386, allocations: 67.89 kB / 0.497 GB, free: 5.965 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.0001588/0.1388, allocations: 99.19 kB / 0.4971 GB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007671/0.1396, allocations: 342.6 kB / 0.4974 GB, free: 5.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1396, allocations: 0 / 0.4974 GB, free: 5.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.1399, allocations: 119.9 kB / 0.4975 GB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1402, allocations: 42.48 kB / 0.4975 GB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.1415, allocations: 0.6399 MB / 0.4982 GB, free: 4.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.1417, allocations: 154.5 kB / 0.4983 GB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1418, allocations: 19.44 kB / 0.4983 GB, free: 4.492 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1418, allocations: 0 / 0.4983 GB, free: 4.492 MB / 366.1 MB Notification: Performance of Templates: time 0.006131/0.1479, allocations: 3.423 MB / 0.5017 GB, free: 1.07 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: 7.244684647768736] Failed to read output from testmodel.py, exit status != 0: 0.15603355830535293 0.171526233 0.044359715 Calling exit ...