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.004865/0.004865, allocations: 99.2 kB / 15.73 MB, free: 6.066 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.001288/0.001288, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02454/0.02454, allocations: 4.644 MB / 295.2 MB, free: 10.22 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 69.52 kB / 407.8 MB, free: 27.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08192/0.08382, allocations: 50.5 MB / 458.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005269/0.08913, allocations: 3.966 MB / 462.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.09072, allocations: 0.8998 MB / 463.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.09091, allocations: 15.94 kB / 463.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.09118, allocations: 79.22 kB / 463.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.09149, allocations: 170.5 kB / 463.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.0919, allocations: 187.7 kB / 463.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007845/0.09269, allocations: 0.748 MB / 464.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007596/0.09346, allocations: 0.5158 MB / 464.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.09389, allocations: 271.2 kB / 465.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.09427, allocations: 302.7 kB / 465.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.0944, allocations: 84 kB / 465.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.09453, allocations: 84 kB / 465.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.0947, allocations: 151.6 kB / 465.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.09507, allocations: 346.5 kB / 466.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009382/0.09601, allocations: 0.845 MB / 466.9 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.09603, allocations: 0 / 466.9 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09604, allocations: 0 / 466.9 MB, free: 332 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.09605, allocations: 0 / 466.9 MB, free: 332 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.001764/0.09782, allocations: 0.9063 MB / 467.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.09787, allocations: 8.031 kB / 467.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.09798, allocations: 90.7 kB / 467.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.0981, allocations: 64.56 kB / 468 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.0986, allocations: 383.4 kB / 468.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.09865, allocations: 37.38 kB / 468.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.09875, allocations: 44.38 kB / 468.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.09988, allocations: 0.5888 MB / 469 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.09991, allocations: 3.984 kB / 469 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.09997, allocations: 20 kB / 469.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.1, allocations: 16 kB / 469.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.101, allocations: 459.7 kB / 469.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.1038, allocations: 1.903 MB / 471.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008079/0.1046, allocations: 425.4 kB / 471.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.1052, allocations: 286.2 kB / 472.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.1052, allocations: 4.281 kB / 472.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006438/0.1059, allocations: 317.5 kB / 472.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.184e-06/0.1059, allocations: 4 kB / 472.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001517/0.1074, allocations: 0.652 MB / 473.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.1075, allocations: 85.09 kB / 473.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.1079, allocations: 344.5 kB / 473.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.1079, allocations: 29.7 kB / 473.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.1081, allocations: 256.5 kB / 473.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.1083, allocations: 142.8 kB / 473.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.1084, allocations: 78.08 kB / 474 MB, free: 8.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1086, allocations: 354.7 kB / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.1091, allocations: 196.8 kB / 474.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.1096, allocations: 275.4 kB / 474.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.1106, allocations: 0.4982 MB / 475.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1106, allocations: 11.94 kB / 475.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001199/0.1118, allocations: 0.5901 MB / 475.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.1119, allocations: 33.7 kB / 476 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.1119, allocations: 12.17 kB / 476 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.1119, allocations: 7.984 kB / 476 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.1125, allocations: 123.9 kB / 476.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1125, allocations: 0 / 476.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.1128, allocations: 51.7 kB / 476.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.1129, allocations: 16 kB / 476.2 MB, free: 6.711 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.0002761/0.1132, allocations: 221.6 kB / 476.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.1132, allocations: 39.7 kB / 476.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009136/0.1142, allocations: 461.3 kB / 476.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1142, allocations: 4 kB / 476.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1142, allocations: 0 / 476.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1142, allocations: 3.984 kB / 476.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.1149, allocations: 0.6064 MB / 477.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.1149, allocations: 4 kB / 477.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.1155, allocations: 107.9 kB / 477.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1155, allocations: 4 kB / 477.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.1155, allocations: 15.98 kB / 477.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1156, allocations: 3.938 kB / 477.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1156, allocations: 0 / 477.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1171, allocations: 0.7781 MB / 478.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1172, allocations: 116.9 kB / 478.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.1173, allocations: 8 kB / 478.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.1175, allocations: 23.97 kB / 478.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1177, allocations: 39.95 kB / 478.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.1177, allocations: 12 kB / 478.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002777/0.118, allocations: 239 kB / 478.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.118, allocations: 0 / 478.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004083/0.1184, allocations: 135.7 kB / 479 MB, free: 3.809 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.00185/0.1203, allocations: 1.341 MB / 480.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.1213, allocations: 0.5223 MB / 480.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1214, allocations: 0 / 480.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005131/0.1219, allocations: 248.1 kB / 481.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.1223, allocations: 65.31 kB / 481.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/0.1291, allocations: 4.461 MB / 485.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.1297, allocations: 0.8657 MB / 486.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000249/0.13, allocations: 58.94 kB / 486.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.1302, allocations: 155.4 kB / 486.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.825e-06/0.1302, allocations: 0 / 486.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.1631, allocations: 8.752 MB / 495.4 MB, free: 3.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.445, allocations: 7.641 kB / 495.4 MB, free: 3.238 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)