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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) 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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004594/0.004594, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 195.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 2.716/2.716, allocations: 4.655 MB / 295.2 MB, free: 10.21 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.88 kB / 407.8 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1005, allocations: 50.51 MB / 458.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005171/0.1057, allocations: 3.958 MB / 462.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1075, allocations: 0.9115 MB / 463.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.1079, allocations: 12 kB / 463.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1082, allocations: 83.16 kB / 463.3 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.1085, allocations: 170.5 kB / 463.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.109, allocations: 171.8 kB / 463.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.1097, allocations: 0.7596 MB / 464.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/0.1104, allocations: 0.5119 MB / 464.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.1107, allocations: 279.2 kB / 465.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.1111, allocations: 298.7 kB / 465.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1112, allocations: 84 kB / 465.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.1113, allocations: 87.94 kB / 465.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.1114, allocations: 155.6 kB / 465.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.1118, allocations: 342.5 kB / 466.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007602/0.1125, allocations: 0.845 MB / 466.9 MB, free: 312 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1125, allocations: 0 / 466.9 MB, free: 312 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1125, allocations: 0 / 466.9 MB, free: 312 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1126, allocations: 4 kB / 466.9 MB, free: 308 kB / 334.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.001568/0.1141, allocations: 0.9024 MB / 467.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1142, allocations: 8.031 kB / 467.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.1143, allocations: 86.7 kB / 467.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1144, allocations: 64.56 kB / 468 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.1149, allocations: 383.3 kB / 468.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.1149, allocations: 37.38 kB / 468.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.818e-05/0.115, allocations: 48.38 kB / 468.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1161, allocations: 0.5889 MB / 469.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1161, allocations: 0 / 469.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.1162, allocations: 20 kB / 469.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1162, allocations: 12 kB / 469.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/0.1171, allocations: 475.6 kB / 469.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.1195, allocations: 1.895 MB / 471.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.1203, allocations: 417.8 kB / 471.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.1208, allocations: 289.8 kB / 472.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.1208, allocations: 8.281 kB / 472.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/0.1214, allocations: 309.6 kB / 472.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.354e-06/0.1214, allocations: 0 / 472.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001405/0.1228, allocations: 0.6598 MB / 473.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1229, allocations: 81.11 kB / 473.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.1233, allocations: 340.4 kB / 473.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.1233, allocations: 33.7 kB / 473.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.1235, allocations: 260.4 kB / 473.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1236, allocations: 142.8 kB / 473.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.1238, allocations: 82.08 kB / 474 MB, free: 8.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1239, allocations: 350.7 kB / 474.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.1243, allocations: 204.8 kB / 474.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.1248, allocations: 271.4 kB / 474.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008583/0.1257, allocations: 0.4982 MB / 475.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1257, allocations: 4 kB / 475.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00109/0.1268, allocations: 0.5901 MB / 475.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.1268, allocations: 33.7 kB / 476 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1268, allocations: 3.984 kB / 476 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1269, allocations: 8.125 kB / 476 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.1274, allocations: 128 kB / 476.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1275, allocations: 11.92 kB / 476.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.1279, allocations: 47.72 kB / 476.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.1279, allocations: 19.98 kB / 476.2 MB, free: 6.691 MB / 350.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.0002437/0.1282, allocations: 221.6 kB / 476.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.1282, allocations: 43.7 kB / 476.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008328/0.1291, allocations: 457.4 kB / 476.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1291, allocations: 8 kB / 476.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1291, allocations: 0 / 476.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1291, allocations: 0 / 476.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.1297, allocations: 0.6064 MB / 477.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1297, allocations: 4 kB / 477.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.1303, allocations: 107.9 kB / 477.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1303, allocations: 4 kB / 477.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.1303, allocations: 12 kB / 477.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1303, allocations: 0 / 477.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1303, allocations: 0 / 477.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.1318, allocations: 0.7859 MB / 478.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.1318, allocations: 116.9 kB / 478.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.1319, allocations: 8 kB / 478.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.1322, allocations: 27.97 kB / 478.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1323, allocations: 31.95 kB / 478.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.1323, allocations: 11.98 kB / 478.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.1326, allocations: 247 kB / 478.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1326, allocations: 0 / 478.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.133, allocations: 131.7 kB / 479 MB, free: 3.789 MB / 350.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.001678/0.1347, allocations: 1.333 MB / 480.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.1357, allocations: 0.5225 MB / 480.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1357, allocations: 0 / 480.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004505/0.1362, allocations: 243.8 kB / 481.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1366, allocations: 70.61 kB / 481.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00612/0.1427, allocations: 4.465 MB / 485.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1431, allocations: 0.8657 MB / 486.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.1434, allocations: 58.94 kB / 486.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.1436, allocations: 155.4 kB / 486.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.244e-06/0.1437, allocations: 0 / 486.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5815/0.7252, allocations: 8.758 MB / 495.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.696/9.421, allocations: 10.92 kB / 495.4 MB, free: 3.215 MB / 366.1 MB (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)