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.001088/0.001088, 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.001099/0.001099, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1358/0.1358, allocations: 4.635 MB / 295 MB, free: 3.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.89 kB / 356.7 MB, free: 2.414 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09185, allocations: 50.51 MB / 407.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005184/0.09707, allocations: 3.965 MB / 411.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.09876, allocations: 0.9036 MB / 412 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.09908, allocations: 8 kB / 412 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.09935, allocations: 83.16 kB / 412.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.09975, allocations: 170.5 kB / 412.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.1002, allocations: 171.8 kB / 412.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006891/0.1009, allocations: 0.7558 MB / 413.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006623/0.1015, allocations: 0.5119 MB / 413.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/0.1019, allocations: 279.1 kB / 414 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.1022, allocations: 298.8 kB / 414.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1023, allocations: 84 kB / 414.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1025, allocations: 84 kB / 414.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.1026, allocations: 155.5 kB / 414.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.1029, allocations: 342.6 kB / 414.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.1036, allocations: 0.8221 MB / 415.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1036, allocations: 0 / 415.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1036, allocations: 4 kB / 415.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.1037, allocations: 0 / 415.8 MB, free: 7.203 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.001557/0.1052, allocations: 0.8912 MB / 416.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1053, allocations: 12.03 kB / 416.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.265e-05/0.1054, allocations: 86.7 kB / 416.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.1055, allocations: 60.28 kB / 416.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.1059, allocations: 379.1 kB / 417.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.1059, allocations: 33.38 kB / 417.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.106, allocations: 52.28 kB / 417.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009818/0.107, allocations: 0.5928 MB / 417.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.107, allocations: 0 / 417.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.1071, allocations: 16 kB / 417.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1071, allocations: 12 kB / 417.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000943/0.108, allocations: 475.6 kB / 418.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1105, allocations: 1.914 MB / 420.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/0.1112, allocations: 421.6 kB / 420.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.1117, allocations: 290.2 kB / 421 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.1118, allocations: 8.266 kB / 421 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005594/0.1123, allocations: 305.8 kB / 421.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.974e-06/0.1123, allocations: 4 kB / 421.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001371/0.1137, allocations: 0.6551 MB / 421.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1138, allocations: 81.11 kB / 422 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.1141, allocations: 340.5 kB / 422.3 MB, free: 352 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.1142, allocations: 37.64 kB / 422.4 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1143, allocations: 259.9 kB / 422.6 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1422/0.2565, allocations: 119.9 kB / 422.7 MB, free: 48.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.2568, allocations: 74.12 kB / 422.8 MB, free: 48.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.257, allocations: 354.4 kB / 423.2 MB, free: 48.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.2575, allocations: 201.5 kB / 423.4 MB, free: 48.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.258, allocations: 272.9 kB / 423.6 MB, free: 47.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.2589, allocations: 0.4983 MB / 424.1 MB, free: 47.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.259, allocations: 0.7812 kB / 424.1 MB, free: 47.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001119/0.2601, allocations: 0.6014 MB / 424.7 MB, free: 47.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.2601, allocations: 30.67 kB / 424.8 MB, free: 47.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.2602, allocations: 4.172 kB / 424.8 MB, free: 47.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.2602, allocations: 3.938 kB / 424.8 MB, free: 47.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.2608, allocations: 121.5 kB / 424.9 MB, free: 47.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.2608, allocations: 13.72 kB / 424.9 MB, free: 47.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.2611, allocations: 56.97 kB / 425 MB, free: 47.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.2611, allocations: 17.78 kB / 425 MB, free: 47.77 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.0002327/0.2614, allocations: 210.7 kB / 425.2 MB, free: 47.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.2614, allocations: 38.84 kB / 425.2 MB, free: 47.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.2622, allocations: 464.8 kB / 425.7 MB, free: 47.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2622, allocations: 3.062 kB / 425.7 MB, free: 47.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2622, allocations: 7.031 kB / 425.7 MB, free: 47.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2622, allocations: 0 / 425.7 MB, free: 47.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.2627, allocations: 0.5937 MB / 426.3 MB, free: 47.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2627, allocations: 3 kB / 426.3 MB, free: 47.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.2632, allocations: 110.9 kB / 426.4 MB, free: 47.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2633, allocations: 3.062 kB / 426.4 MB, free: 47.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.2633, allocations: 12.91 kB / 426.4 MB, free: 47.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2633, allocations: 7.031 kB / 426.4 MB, free: 47.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2633, allocations: 3.938 kB / 426.4 MB, free: 47.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.2645, allocations: 0.7757 MB / 427.2 MB, free: 46.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.2646, allocations: 120.2 kB / 427.3 MB, free: 46.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.2647, allocations: 13.34 kB / 427.3 MB, free: 46.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2649, allocations: 25.41 kB / 427.3 MB, free: 46.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/0.265, allocations: 39.89 kB / 427.4 MB, free: 46.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.265, allocations: 5.844 kB / 427.4 MB, free: 46.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.2652, allocations: 249.5 kB / 427.6 MB, free: 46.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2652, allocations: 0 / 427.6 MB, free: 46.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.2656, allocations: 131.1 kB / 427.8 MB, free: 46.63 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.001361/0.267, allocations: 1.338 MB / 429.1 MB, free: 45.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009519/0.2679, allocations: 0.5495 MB / 429.6 MB, free: 45.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2679, allocations: 0.875 kB / 429.6 MB, free: 45.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.2684, allocations: 243.5 kB / 429.9 MB, free: 45.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2687, allocations: 67.25 kB / 429.9 MB, free: 45.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.2739, allocations: 4.484 MB / 434.4 MB, free: 42.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.2741, allocations: 0.8579 MB / 435.3 MB, free: 42.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.2743, allocations: 63.41 kB / 435.4 MB, free: 42.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.2745, allocations: 155.8 kB / 435.5 MB, free: 41.99 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2745, allocations: 0 / 435.5 MB, free: 41.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.2978, allocations: 8.583 MB / 444.1 MB, free: 41.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/7.803, allocations: 7.734 kB / 444.1 MB, free: 41.17 MB / 350.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)