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.001521/0.001521, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002025/0.002025, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 7.961 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.02543/0.02543, allocations: 4.723 MB / 317.2 MB, free: 14.47 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: "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) [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.002142/0.002142, allocations: 63.91 kB / 441.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1216, allocations: 54.5 MB / 495.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005971/0.1276, allocations: 4.027 MB / 499.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1298, allocations: 0.9933 MB / 0.489 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.13, allocations: 11.94 kB / 0.489 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.1303, allocations: 83.16 kB / 0.4891 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1306, allocations: 170.5 kB / 0.4893 GB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.1312, allocations: 195.7 kB / 0.4895 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009197/0.1321, allocations: 0.7636 MB / 0.4902 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.1328, allocations: 352.8 kB / 0.4906 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005064/0.1333, allocations: 295.1 kB / 0.4908 GB, free: 12.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.1337, allocations: 298.8 kB / 0.4911 GB, free: 11.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.1338, allocations: 84 kB / 0.4912 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.134, allocations: 92 kB / 0.4913 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.1342, allocations: 163.5 kB / 0.4914 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.1345, allocations: 342.6 kB / 0.4918 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.1355, allocations: 0.8447 MB / 0.4926 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1355, allocations: 0 / 0.4926 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1355, allocations: 4 kB / 0.4926 GB, free: 10.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1355, allocations: 0 / 0.4926 GB, free: 10.45 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.001711/0.1372, allocations: 0.8388 MB / 0.4934 GB, free: 9.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1373, allocations: 12.03 kB / 0.4934 GB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.1374, allocations: 86.7 kB / 0.4935 GB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.1378, allocations: 92.48 kB / 0.4936 GB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.1383, allocations: 338.1 kB / 0.4939 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.1383, allocations: 37.38 kB / 0.494 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/0.1384, allocations: 52.38 kB / 0.494 GB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.1395, allocations: 0.5926 MB / 0.4946 GB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1396, allocations: 0 / 0.4946 GB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.1396, allocations: 24 kB / 0.4946 GB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1396, allocations: 8 kB / 0.4946 GB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.1407, allocations: 479.6 kB / 0.4951 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.1435, allocations: 1.847 MB / 0.4969 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/0.1443, allocations: 396.8 kB / 0.4973 GB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.1449, allocations: 256.5 kB / 0.4975 GB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.1449, allocations: 8.281 kB / 0.4975 GB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006485/0.1456, allocations: 309.8 kB / 0.4978 GB, free: 4.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.824e-06/0.1456, allocations: 0 / 0.4978 GB, free: 4.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.00159/0.1472, allocations: 0.6637 MB / 0.4985 GB, free: 4.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.1473, allocations: 89.09 kB / 0.4985 GB, free: 4.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.1477, allocations: 340.5 kB / 0.4989 GB, free: 3.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.1477, allocations: 33.7 kB / 0.4989 GB, free: 3.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.148, allocations: 264.4 kB / 0.4992 GB, free: 3.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.1481, allocations: 138.8 kB / 0.4993 GB, free: 3.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.1483, allocations: 74.12 kB / 0.4994 GB, free: 3.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1485, allocations: 350.7 kB / 0.4997 GB, free: 2.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.149, allocations: 200.8 kB / 0.4999 GB, free: 2.727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.1495, allocations: 283.4 kB / 0.5002 GB, free: 2.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009972/0.1505, allocations: 0.4905 MB / 0.5006 GB, free: 1.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1505, allocations: 0 / 0.5006 GB, free: 1.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001242/0.1517, allocations: 0.6017 MB / 0.5012 GB, free: 1.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.1518, allocations: 37.69 kB / 0.5013 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1518, allocations: 0 / 0.5013 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1518, allocations: 4 kB / 0.5013 GB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.1524, allocations: 128 kB / 0.5014 GB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1524, allocations: 4 kB / 0.5014 GB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.1528, allocations: 55.7 kB / 0.5014 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.1528, allocations: 20.17 kB / 0.5015 GB, free: 1.039 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.0003075/0.1531, allocations: 225.5 kB / 0.5017 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.1532, allocations: 39.75 kB / 0.5017 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.1542, allocations: 465.4 kB / 0.5022 GB, free: 316 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1542, allocations: 4 kB / 0.5022 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1542, allocations: 0 / 0.5022 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1542, allocations: 0 / 0.5022 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007784/0.155, allocations: 0.5704 MB / 0.5027 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.155, allocations: 0 / 0.5027 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.1556, allocations: 107.9 kB / 0.5028 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.1556, allocations: 8 kB / 0.5028 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.1556, allocations: 12 kB / 0.5028 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1556, allocations: 3.938 kB / 0.5028 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1556, allocations: 0 / 0.5028 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.1572, allocations: 0.7858 MB / 0.5036 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.1573, allocations: 43.75 kB / 0.5036 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.1574, allocations: 16.12 kB / 0.5037 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.1576, allocations: 27.97 kB / 0.5037 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.1577, allocations: 35.94 kB / 0.5037 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.1578, allocations: 8 kB / 0.5037 GB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.1581, allocations: 255 kB / 0.504 GB, free: 14.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1581, allocations: 0 / 0.504 GB, free: 14.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005157/0.1586, allocations: 135.7 kB / 0.5041 GB, free: 14.25 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.001979/0.1606, allocations: 1.332 MB / 0.5054 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.1618, allocations: 0.5069 MB / 0.5059 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1618, allocations: 0 / 0.5059 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.1623, allocations: 235.7 kB / 0.5061 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.1627, allocations: 69.98 kB / 0.5062 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00802/0.1708, allocations: 4.489 MB / 0.5106 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.1713, allocations: 0.8696 MB / 0.5114 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.1716, allocations: 58.92 kB / 0.5115 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.1719, allocations: 159.4 kB / 0.5116 GB, free: 6.316 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.1719, allocations: 7.938 kB / 0.5116 GB, free: 6.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2588/0.4306, allocations: 9.273 MB / 0.5207 GB, free: 34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.03, allocations: 7.281 kB / 0.5207 GB, free: 34 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.91915294899809] Failed to read output from testmodel.py, exit status != 0: 12.144051394003327 12.168241011 12.028112337 Calling exit ...