Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.007661/0.007661, allocations: 101.2 kB / 15.73 MB, free: 6.496 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.002148/0.002148, allocations: 199.1 kB / 16.68 MB, free: 6.375 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 482.4 MB / 0.7548 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.88 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2787, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006082/0.2848, allocations: 4.095 MB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002697/0.2876, allocations: 1.593 MB / 1.247 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.2878, allocations: 8 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.2895, allocations: 0.591 MB / 1.248 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.2901, allocations: 234.8 kB / 1.248 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.2907, allocations: 219.5 kB / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.2914, allocations: 0.5413 MB / 1.249 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007375/0.2921, allocations: 477.7 kB / 1.249 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.2924, allocations: 235.2 kB / 1.249 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.2929, allocations: 255.1 kB / 1.249 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/0.293, allocations: 32 kB / 1.249 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.2933, allocations: 163.7 kB / 1.25 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.2935, allocations: 147.7 kB / 1.25 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.2938, allocations: 195.1 kB / 1.25 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.2944, allocations: 0.5254 MB / 1.25 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2944, allocations: 0 / 1.25 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2945, allocations: 0 / 1.25 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.2945, allocations: 0 / 1.25 GB, free: 0.9102 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001269/0.2957, allocations: 0.6976 MB / 1.251 GB, free: 168 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2958, allocations: 8.031 kB / 1.251 GB, free: 160 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.961e-05/0.2959, allocations: 82.7 kB / 1.251 GB, free: 68 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4762/0.772, allocations: 99.98 kB / 1.251 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.7726, allocations: 307.4 kB / 1.252 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/0.7727, allocations: 60.53 kB / 1.252 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.7727, allocations: 32.47 kB / 1.252 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008436/0.7736, allocations: 0.5026 MB / 1.252 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.7736, allocations: 4.406 kB / 1.252 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.7736, allocations: 14.84 kB / 1.252 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.7737, allocations: 32.53 kB / 1.252 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007052/0.7744, allocations: 377.6 kB / 1.253 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.7765, allocations: 2.196 MB / 1.255 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.7772, allocations: 263.5 kB / 1.255 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.7775, allocations: 149.3 kB / 1.255 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.7776, allocations: 3.109 kB / 1.255 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.7776, allocations: 36.02 kB / 1.255 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.7776, allocations: 0.75 kB / 1.255 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.00149/0.7791, allocations: 0.5702 MB / 1.256 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.7791, allocations: 53.94 kB / 1.256 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.7793, allocations: 234.4 kB / 1.256 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.7794, allocations: 27.14 kB / 1.256 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.7795, allocations: 214.4 kB / 1.256 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.7795, allocations: 72.69 kB / 1.256 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.7796, allocations: 58.55 kB / 1.256 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.7797, allocations: 329.8 kB / 1.257 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.7799, allocations: 94.48 kB / 1.257 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.7802, allocations: 181.7 kB / 1.257 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.7806, allocations: 276.6 kB / 1.257 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.7806, allocations: 4.938 kB / 1.257 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008773/0.7815, allocations: 378.6 kB / 1.258 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7815, allocations: 7.875 kB / 1.258 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7816, allocations: 2.625 kB / 1.258 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004981/0.7821, allocations: 110.4 kB / 1.258 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.7823, allocations: 52.66 kB / 1.258 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.7849, allocations: 3.044 MB / 1.261 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.7851, allocations: 35 kB / 1.261 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.7852, allocations: 13.41 kB / 1.261 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003282/0.7855, allocations: 219.2 kB / 1.261 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002529/0.7858, allocations: 178.8 kB / 1.261 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004494/0.7862, allocations: 274.9 kB / 1.261 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.7862, allocations: 4.844 kB / 1.261 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007921/0.787, allocations: 351.8 kB / 1.262 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.787, allocations: 10.8 kB / 1.262 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.7871, allocations: 2.406 kB / 1.262 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.7874, allocations: 82.44 kB / 1.262 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.7876, allocations: 55.06 kB / 1.262 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.7893, allocations: 1.615 MB / 1.263 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.7896, allocations: 30.92 kB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.7896, allocations: 8.156 kB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/0.7897, allocations: 208.8 kB / 1.264 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.7897, allocations: 22.02 kB / 1.264 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.7898, allocations: 29.09 kB / 1.264 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7898, allocations: 4.641 kB / 1.264 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7898, allocations: 0 / 1.264 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.7898, allocations: 3.938 kB / 1.264 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.7911, allocations: 0.8313 MB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7911, allocations: 0.875 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.7913, allocations: 34.28 kB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003709/0.7916, allocations: 105.4 kB / 1.265 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.7917, allocations: 10.67 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.7939, allocations: 3.015 MB / 1.268 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7939, allocations: 4.469 kB / 1.268 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.7946, allocations: 418.4 kB / 1.268 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.7947, allocations: 119.8 kB / 1.268 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.7948, allocations: 11.11 kB / 1.268 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.7949, allocations: 12.81 kB / 1.268 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.795, allocations: 19.62 kB / 1.268 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.7951, allocations: 4.906 kB / 1.268 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001321/0.7952, allocations: 162.5 kB / 1.268 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7952, allocations: 3.062 kB / 1.268 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000625/0.7958, allocations: 168.4 kB / 1.269 GB, free: 2.527 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008915/0.7967, allocations: 0.9543 MB / 1.27 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.7984, allocations: 0.7508 MB / 1.27 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7985, allocations: 4.062 kB / 1.27 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.7992, allocations: 376.9 kB / 1.271 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.7996, allocations: 66.98 kB / 1.271 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.8033, allocations: 2.854 MB / 1.273 GB, free: 15.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.8038, allocations: 0.8149 MB / 1.274 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.804, allocations: 49.95 kB / 1.274 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.8041, allocations: 87.77 kB / 1.274 GB, free: 14.25 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.8041, allocations: 4.875 kB / 1.274 GB, free: 14.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/0.8407, allocations: 7.366 MB / 1.282 GB, free: 13.47 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.17, allocations: 11.27 kB / 1.282 GB, free: 13.46 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)