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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 190 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251 MB, free: 13.02 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.02743/0.02743, allocations: 4.707 MB / 311 MB, free: 4.051 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 75.88 kB / 433.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1108, allocations: 53.31 MB / 486.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.006223/0.117, allocations: 4.005 MB / 490.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1192, allocations: 0.9115 MB / 491.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.1196, allocations: 11.94 kB / 491.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.12, allocations: 83.16 kB / 491.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.1206, allocations: 174.5 kB / 491.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.1212, allocations: 183.8 kB / 491.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.1224, allocations: 0.748 MB / 492.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006207/0.1231, allocations: 352.7 kB / 493 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.1235, allocations: 295.1 kB / 493.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.1239, allocations: 294.8 kB / 493.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.124, allocations: 84 kB / 493.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1241, allocations: 84 kB / 493.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.1243, allocations: 159.5 kB / 493.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.1247, allocations: 342.6 kB / 494.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1257, allocations: 0.8331 MB / 495.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1257, allocations: 4 kB / 495.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1258, allocations: 0 / 495.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1258, allocations: 0 / 495.1 MB, free: 4.367 MB / 350.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.001971/0.1277, allocations: 0.8349 MB / 495.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1278, allocations: 8.031 kB / 495.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1279, allocations: 64.56 kB / 496 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.1285, allocations: 322.1 kB / 496.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.1285, allocations: 37.38 kB / 496.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.1286, allocations: 48.38 kB / 496.4 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.1299, allocations: 0.5967 MB / 497 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1299, allocations: 0 / 497 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.13, allocations: 20 kB / 497 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.13, allocations: 12 kB / 497 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1311, allocations: 479.7 kB / 497.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.1341, allocations: 1.844 MB / 499.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000881/0.1349, allocations: 406.5 kB / 499.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/0.1355, allocations: 253.7 kB / 499.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.1355, allocations: 4.281 kB / 500 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/0.1362, allocations: 313.1 kB / 0.4885 GB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.124e-06/0.1362, allocations: 0 / 0.4885 GB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.001675/0.1379, allocations: 0.6551 MB / 0.4892 GB, free: 14.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.138, allocations: 89.09 kB / 0.4893 GB, free: 14.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.1384, allocations: 332.5 kB / 0.4896 GB, free: 13.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.1385, allocations: 29.7 kB / 0.4896 GB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.1387, allocations: 264.4 kB / 0.4899 GB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.1388, allocations: 134.9 kB / 0.49 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.1389, allocations: 78.08 kB / 0.4901 GB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1391, allocations: 358.7 kB / 0.4904 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.1396, allocations: 196.8 kB / 0.4906 GB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.1402, allocations: 283.4 kB / 0.4909 GB, free: 12.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.1412, allocations: 0.4943 MB / 0.4913 GB, free: 11.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1412, allocations: 0 / 0.4913 GB, free: 11.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001258/0.1424, allocations: 0.5979 MB / 0.4919 GB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.1425, allocations: 33.7 kB / 0.492 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1425, allocations: 3.984 kB / 0.492 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.1425, allocations: 7.938 kB / 0.492 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.1432, allocations: 119.9 kB / 0.4921 GB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1432, allocations: 7.938 kB / 0.4921 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.1435, allocations: 59.89 kB / 0.4921 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.1436, allocations: 12 kB / 0.4922 GB, free: 11.11 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.0002771/0.1439, allocations: 215.7 kB / 0.4924 GB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.1439, allocations: 35.77 kB / 0.4924 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009806/0.1449, allocations: 461.3 kB / 0.4928 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1449, allocations: 11.94 kB / 0.4929 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1449, allocations: 0 / 0.4929 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1449, allocations: 3.984 kB / 0.4929 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.1457, allocations: 0.5742 MB / 0.4934 GB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1457, allocations: 4 kB / 0.4934 GB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.1463, allocations: 111.8 kB / 0.4935 GB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1463, allocations: 4 kB / 0.4935 GB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.1463, allocations: 11.98 kB / 0.4935 GB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1463, allocations: 0 / 0.4935 GB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1463, allocations: 0 / 0.4935 GB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.148, allocations: 0.7877 MB / 0.4943 GB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.1481, allocations: 39.95 kB / 0.4943 GB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.1481, allocations: 11.98 kB / 0.4944 GB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.1484, allocations: 31.97 kB / 0.4944 GB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1485, allocations: 31.94 kB / 0.4944 GB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.1485, allocations: 12 kB / 0.4944 GB, free: 8.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.1488, allocations: 239 kB / 0.4947 GB, free: 8.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1488, allocations: 3.938 kB / 0.4947 GB, free: 8.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004416/0.1493, allocations: 135.7 kB / 0.4948 GB, free: 8.34 MB / 366.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.0001743/0.1494, allocations: 113.9 kB / 0.4949 GB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.1505, allocations: 0.507 MB / 0.4954 GB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1506, allocations: 4 kB / 0.4954 GB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/0.1511, allocations: 239.7 kB / 0.4956 GB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1515, allocations: 53 kB / 0.4957 GB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.154, allocations: 1.193 MB / 0.4968 GB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007176/0.1547, allocations: 0.8657 MB / 0.4977 GB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.1549, allocations: 54.94 kB / 0.4977 GB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1551, allocations: 31.42 kB / 0.4978 GB, free: 5.207 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1551, allocations: 0 / 0.4978 GB, free: 5.207 MB / 366.1 MB Notification: Performance of Templates: time 0.01082/0.1659, allocations: 4.75 MB / 0.5024 GB, free: 0.4922 MB / 366.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: 5.1192701337859035] Failed to read output from testmodel.py, exit status != 0: 0.4391632219776511 0.46237090599999997 0.33182312799999997 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdd5b2017b0>