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.008033/0.008033, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.002056/0.002056, allocations: 193.6 kB / 16.67 MB, free: 5.961 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02403/0.02403, allocations: 4.647 MB / 295.2 MB, free: 10.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 407.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.08343, allocations: 50.5 MB / 458.3 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004146/0.0876, allocations: 2.873 MB / 461.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.08879, allocations: 0.6895 MB / 461.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.08893, allocations: 4 kB / 461.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.08913, allocations: 47.52 kB / 461.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.08931, allocations: 87.2 kB / 462 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.08963, allocations: 107.8 kB / 462.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.09009, allocations: 406.5 kB / 462.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.09049, allocations: 245.6 kB / 462.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.09072, allocations: 143.6 kB / 462.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.09095, allocations: 167.3 kB / 463 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.09102, allocations: 40 kB / 463.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.879e-05/0.09109, allocations: 44 kB / 463.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.53e-05/0.09118, allocations: 79.77 kB / 463.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.09137, allocations: 171.3 kB / 463.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.09185, allocations: 434.7 kB / 463.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09186, allocations: 0 / 463.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09186, allocations: 0 / 463.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.09188, allocations: 0 / 463.8 MB, free: 3.492 MB / 334.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.001184/0.09306, allocations: 0.6491 MB / 464.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.09311, allocations: 8.031 kB / 464.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.86e-05/0.09318, allocations: 62.72 kB / 464.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.09326, allocations: 36.75 kB / 464.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.09357, allocations: 276.8 kB / 464.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.0936, allocations: 20.94 kB / 464.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.09366, allocations: 28.33 kB / 464.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.09433, allocations: 335.8 kB / 465.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.09435, allocations: 0 / 465.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.09439, allocations: 12 kB / 465.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.0944, allocations: 4 kB / 465.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006689/0.09508, allocations: 282 kB / 465.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.09661, allocations: 1.045 MB / 466.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.09738, allocations: 306.6 kB / 466.8 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.09775, allocations: 156.8 kB / 467 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.09779, allocations: 4 kB / 467 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.09825, allocations: 193.7 kB / 467.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.923e-06/0.09827, allocations: 4 kB / 467.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001052/0.09933, allocations: 417.6 kB / 467.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.09938, allocations: 55.41 kB / 467.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.09963, allocations: 233 kB / 467.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.09967, allocations: 33.7 kB / 467.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.09981, allocations: 172.3 kB / 468.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.09989, allocations: 75.3 kB / 468.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1, allocations: 49.69 kB / 468.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1001, allocations: 334.8 kB / 468.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.1005, allocations: 123.9 kB / 468.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.1008, allocations: 175.3 kB / 468.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.1015, allocations: 311.5 kB / 469.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1015, allocations: 0 / 469.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008294/0.1023, allocations: 386 kB / 469.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.1024, allocations: 29.7 kB / 469.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1024, allocations: 8.094 kB / 469.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1024, allocations: 3.984 kB / 469.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.1027, allocations: 63.89 kB / 469.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.1028, allocations: 4 kB / 469.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.103, allocations: 31.83 kB / 469.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.103, allocations: 12 kB / 469.6 MB, free: 13.34 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.0001777/0.1032, allocations: 162 kB / 469.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.1033, allocations: 35.8 kB / 469.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007798/0.1041, allocations: 334.5 kB / 470.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1041, allocations: 0 / 470.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1041, allocations: 0 / 470.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1041, allocations: 0 / 470.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.1045, allocations: 385.3 kB / 470.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1045, allocations: 4 kB / 470.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.1048, allocations: 63.83 kB / 470.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.1049, allocations: 0 / 470.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.1049, allocations: 8 kB / 470.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1049, allocations: 3.984 kB / 470.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1049, allocations: 0 / 470.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.106, allocations: 0.4964 MB / 471.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.1061, allocations: 104.9 kB / 471.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.1061, allocations: 7.938 kB / 471.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1063, allocations: 23.97 kB / 471.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.1064, allocations: 19.97 kB / 471.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1064, allocations: 12.06 kB / 471.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1066, allocations: 168.5 kB / 471.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1066, allocations: 0 / 471.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.1069, allocations: 67.89 kB / 471.5 MB, free: 11.37 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.001375/0.1083, allocations: 1.046 MB / 472.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.1091, allocations: 343.3 kB / 472.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1091, allocations: 4.062 kB / 472.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.1094, allocations: 151.8 kB / 473 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1097, allocations: 38.89 kB / 473.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.1142, allocations: 2.945 MB / 476 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1146, allocations: 0.771 MB / 476.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.1148, allocations: 33.53 kB / 476.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.1149, allocations: 83.41 kB / 476.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.1149, allocations: 3.938 kB / 476.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.1427, allocations: 5.46 MB / 482.4 MB, free: 452 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.051, allocations: 11.81 kB / 482.4 MB, free: 440 kB / 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)