Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_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.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_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.001312/0.001312, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1307/0.1307, allocations: 4.637 MB / 295 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 356.7 MB, free: 2.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08994, allocations: 50.52 MB / 407.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004765/0.09474, allocations: 2.851 MB / 410 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.09615, allocations: 0.6818 MB / 410.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.09643, allocations: 15.94 kB / 410.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.09661, allocations: 39.58 kB / 410.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.0969, allocations: 91.08 kB / 410.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.09729, allocations: 111.9 kB / 411 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.09782, allocations: 394.6 kB / 411.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.09833, allocations: 249.6 kB / 411.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.09868, allocations: 151.5 kB / 411.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.09898, allocations: 159.3 kB / 411.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.271e-05/0.09907, allocations: 44 kB / 411.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.09917, allocations: 40 kB / 412 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.09926, allocations: 75.77 kB / 412 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.0995, allocations: 179.2 kB / 412.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.1, allocations: 431 kB / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1, allocations: 0 / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1, allocations: 0 / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.1001, allocations: 0 / 412.6 MB, free: 10.38 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001312/0.1014, allocations: 0.6415 MB / 413.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1014, allocations: 8.031 kB / 413.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.125e-05/0.1015, allocations: 54.73 kB / 413.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.177e-05/0.1016, allocations: 40.56 kB / 413.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.102, allocations: 276.6 kB / 413.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.102, allocations: 24.92 kB / 413.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.1021, allocations: 24.38 kB / 413.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.1028, allocations: 335.8 kB / 414 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1028, allocations: 0 / 414 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1028, allocations: 11.98 kB / 414 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1028, allocations: 8 kB / 414 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006824/0.1035, allocations: 278 kB / 414.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.1053, allocations: 1.045 MB / 415.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.1061, allocations: 314.5 kB / 415.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.1065, allocations: 164.7 kB / 415.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1065, allocations: 0 / 415.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004151/0.1069, allocations: 200.5 kB / 416 MB, free: 6.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.107, allocations: 0 / 416 MB, free: 6.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001036/0.108, allocations: 411 kB / 416.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1081, allocations: 59.34 kB / 416.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1083, allocations: 236.9 kB / 416.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1083, allocations: 33.7 kB / 416.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1084, allocations: 164.1 kB / 416.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.1085, allocations: 78.98 kB / 417 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.1086, allocations: 49.61 kB / 417 MB, free: 5.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1088, allocations: 330.8 kB / 417.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.1091, allocations: 131.9 kB / 417.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.1094, allocations: 159.3 kB / 417.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/0.1101, allocations: 310.6 kB / 417.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1101, allocations: 4 kB / 417.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007814/0.1109, allocations: 389.9 kB / 418.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.1109, allocations: 31.89 kB / 418.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.111, allocations: 0 / 418.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.111, allocations: 4 kB / 418.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.1113, allocations: 67.89 kB / 418.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1113, allocations: 0 / 418.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1115, allocations: 35.81 kB / 418.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.1116, allocations: 8 kB / 418.5 MB, free: 4.246 MB / 350.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 (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 (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.0001567/0.1117, allocations: 166 kB / 418.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.1118, allocations: 23.66 kB / 418.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/0.1125, allocations: 332.3 kB / 419 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1126, allocations: 4 kB / 419 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1126, allocations: 0 / 419 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1126, allocations: 3.984 kB / 419 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.113, allocations: 389.3 kB / 419.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.113, allocations: 0 / 419.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.1133, allocations: 55.89 kB / 419.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1133, allocations: 7.938 kB / 419.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1134, allocations: 4 kB / 419.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1134, allocations: 11.98 kB / 419.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1134, allocations: 0 / 419.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.1144, allocations: 0.4904 MB / 419.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/0.1145, allocations: 108.7 kB / 420 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.1145, allocations: 8 kB / 420.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.1147, allocations: 11.98 kB / 420.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.1148, allocations: 32.03 kB / 420.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1148, allocations: 7.984 kB / 420.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.115, allocations: 168.5 kB / 420.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.115, allocations: 0 / 420.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1153, allocations: 75.75 kB / 420.3 MB, free: 2.27 MB / 350.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,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 (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.001286/0.1166, allocations: 1.03 MB / 421.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000757/0.1173, allocations: 363.2 kB / 421.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1174, allocations: 4 kB / 421.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.1177, allocations: 143.8 kB / 421.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.118, allocations: 40.39 kB / 421.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1455/0.2636, allocations: 2.939 MB / 424.8 MB, free: 47.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.2638, allocations: 0.7697 MB / 425.6 MB, free: 46.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.2639, allocations: 31.89 kB / 425.7 MB, free: 46.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.264, allocations: 86.48 kB / 425.7 MB, free: 46.66 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2641, allocations: 0 / 425.7 MB, free: 46.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.2861, allocations: 5.371 MB / 431.1 MB, free: 46.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.62, allocations: 4.656 kB / 431.1 MB, free: 46.23 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_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_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)