Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_11_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.007848/0.007848, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.00197/0.001971, allocations: 197 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.83 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3082, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005933/0.3142, allocations: 4.105 MB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002662/0.3169, allocations: 1.586 MB / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.3171, allocations: 11.94 kB / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.3188, allocations: 0.5877 MB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006411/0.3195, allocations: 230.8 kB / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.3201, allocations: 214.7 kB / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007088/0.3208, allocations: 0.5452 MB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007927/0.3216, allocations: 473.8 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.322, allocations: 235.2 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/0.3224, allocations: 247.1 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.855e-05/0.3225, allocations: 35.94 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.3229, allocations: 163.7 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.3231, allocations: 155.6 kB / 1.228 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.3233, allocations: 187.1 kB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006889/0.324, allocations: 0.5332 MB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.324, allocations: 0 / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.324, allocations: 0 / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.324, allocations: 0 / 1.229 GB, free: 4.992 MB / 0.9825 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.001227/0.3253, allocations: 0.6937 MB / 1.23 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3253, allocations: 11.97 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.191e-05/0.3254, allocations: 82.7 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006916/0.3261, allocations: 100.6 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.3266, allocations: 308.2 kB / 1.23 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.3267, allocations: 63.25 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.3267, allocations: 32.38 kB / 1.23 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008562/0.3276, allocations: 0.4968 MB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3276, allocations: 3.938 kB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.3277, allocations: 20 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.3277, allocations: 32.97 kB / 1.231 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.3284, allocations: 375.7 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.3309, allocations: 2.201 MB / 1.233 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.3316, allocations: 254.7 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.332, allocations: 152.7 kB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.3321, allocations: 4 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3321, allocations: 46.45 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.3321, allocations: 0 / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001559/0.3337, allocations: 0.5694 MB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3337, allocations: 51.41 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.334, allocations: 232.9 kB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.334, allocations: 29.7 kB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3342, allocations: 212.2 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.3342, allocations: 71.42 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.3343, allocations: 53.66 kB / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3345, allocations: 334.8 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.3347, allocations: 92.78 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.335, allocations: 192 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.3355, allocations: 274.9 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3355, allocations: 3.938 kB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000876/0.3364, allocations: 376.9 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3364, allocations: 11.98 kB / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3364, allocations: 0 / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005165/0.337, allocations: 105.8 kB / 1.236 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.3372, allocations: 63.84 kB / 1.236 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.3406, allocations: 3.049 MB / 1.239 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.3409, allocations: 35.92 kB / 1.24 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3409, allocations: 12 kB / 1.24 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003758/0.3413, allocations: 220 kB / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002863/0.3416, allocations: 179 kB / 1.24 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004985/0.3421, allocations: 265.3 kB / 1.24 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.3421, allocations: 0 / 1.24 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008205/0.3429, allocations: 359.6 kB / 1.24 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.343, allocations: 8 kB / 1.241 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.343, allocations: 0 / 1.241 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.3433, allocations: 85.09 kB / 1.241 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.3435, allocations: 51.91 kB / 1.241 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.3457, allocations: 1.616 MB / 1.242 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.346, allocations: 43.81 kB / 1.242 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.346, allocations: 12 kB / 1.242 GB, free: 6.535 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 0.0001483/0.3462, allocations: 194 kB / 1.242 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.3462, allocations: 23.86 kB / 1.242 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.3463, allocations: 30.17 kB / 1.243 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3463, allocations: 4 kB / 1.243 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3463, allocations: 3.938 kB / 1.243 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3463, allocations: 0 / 1.243 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.3477, allocations: 0.829 MB / 1.243 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3477, allocations: 0 / 1.243 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.3479, allocations: 35.98 kB / 1.243 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/0.3483, allocations: 101.6 kB / 1.243 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3483, allocations: 8 kB / 1.243 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/0.3514, allocations: 3.02 MB / 1.246 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3514, allocations: 0 / 1.246 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008163/0.3523, allocations: 423.2 kB / 1.247 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3524, allocations: 120.8 kB / 1.247 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3524, allocations: 8 kB / 1.247 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3526, allocations: 15.98 kB / 1.247 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.3527, allocations: 15.98 kB / 1.247 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3527, allocations: 4 kB / 1.247 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001594/0.3529, allocations: 168.5 kB / 1.247 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3529, allocations: 0 / 1.247 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006539/0.3535, allocations: 171.5 kB / 1.247 GB, free: 0.9688 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.5867/0.9403, allocations: 0.9459 MB / 1.248 GB, free: 29.53 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.9424, allocations: 0.751 MB / 1.249 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.9424, allocations: 5.781 kB / 1.249 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007417/0.9431, allocations: 369.9 kB / 1.249 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.9436, allocations: 56.89 kB / 1.249 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.9475, allocations: 2.852 MB / 1.252 GB, free: 27.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.9479, allocations: 0.8105 MB / 1.253 GB, free: 26.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002173/0.9481, allocations: 63.72 kB / 1.253 GB, free: 26.74 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.9482, allocations: 87.66 kB / 1.253 GB, free: 26.73 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.9482, allocations: 1.25 kB / 1.253 GB, free: 26.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.9884, allocations: 7.371 MB / 1.26 GB, free: 26.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.72, allocations: 13.47 kB / 1.26 GB, free: 26.13 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)