Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_10_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.001141/0.001141, 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.001177/0.001177, allocations: 194 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.89 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6252/0.6265, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005276/0.6319, allocations: 4.106 MB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.6341, allocations: 1.582 MB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.6343, allocations: 8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.6358, allocations: 0.5876 MB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.6362, allocations: 234.8 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.6367, allocations: 219.5 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.6372, allocations: 0.549 MB / 1.025 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007193/0.6379, allocations: 476 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.6382, allocations: 223.3 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.6386, allocations: 255.1 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.838e-05/0.6387, allocations: 36 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/0.639, allocations: 167.7 kB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.6392, allocations: 147.6 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.6395, allocations: 195.1 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.6401, allocations: 0.5217 MB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6401, allocations: 0 / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6401, allocations: 0 / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.6401, allocations: 0 / 1.026 GB, free: 9.156 MB / 0.7794 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.001337/0.6415, allocations: 0.6765 MB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.6415, allocations: 12.03 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.696e-05/0.6416, allocations: 70.72 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007316/0.6424, allocations: 112.4 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.6428, allocations: 303.6 kB / 1.028 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/0.6428, allocations: 51.27 kB / 1.028 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.6429, allocations: 32.38 kB / 1.028 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.6437, allocations: 0.5046 MB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.6437, allocations: 7.922 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.6438, allocations: 15.94 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.6439, allocations: 36.98 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006729/0.6445, allocations: 379.7 kB / 1.029 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.6469, allocations: 2.212 MB / 1.031 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.6476, allocations: 250.7 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.648, allocations: 156.8 kB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.6481, allocations: 7.891 kB / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.6481, allocations: 38.55 kB / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.6481, allocations: 0 / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001514/0.6496, allocations: 0.5648 MB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.6497, allocations: 59.41 kB / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.6499, allocations: 228.9 kB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.6499, allocations: 25.7 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.6501, allocations: 211.7 kB / 1.032 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.6501, allocations: 67 kB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.6502, allocations: 53.7 kB / 1.032 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6504, allocations: 334.8 kB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.6506, allocations: 92.8 kB / 1.033 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.6509, allocations: 183.6 kB / 1.033 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.6515, allocations: 278.9 kB / 1.033 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6515, allocations: 3.938 kB / 1.033 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009183/0.6524, allocations: 374.6 kB / 1.034 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6524, allocations: 8.312 kB / 1.034 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6524, allocations: 4 kB / 1.034 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.653, allocations: 109.6 kB / 1.034 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6532, allocations: 55.84 kB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/0.6566, allocations: 3.037 MB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.6569, allocations: 35.67 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.657, allocations: 12 kB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003649/0.6573, allocations: 224 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002753/0.6576, allocations: 180.5 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004778/0.6581, allocations: 267.5 kB / 1.037 GB, free: 13.05 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.6581, allocations: 0 / 1.037 GB, free: 13.05 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008093/0.6589, allocations: 359.1 kB / 1.038 GB, free: 12.69 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.659, allocations: 8.312 kB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.659, allocations: 4 kB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.6593, allocations: 88.72 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.6596, allocations: 51.91 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.6617, allocations: 1.613 MB / 1.039 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.662, allocations: 31.77 kB / 1.039 GB, free: 10.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.6621, allocations: 8 kB / 1.039 GB, free: 10.74 MB / 0.795 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.0001412/0.6622, allocations: 196.1 kB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.6623, allocations: 23.72 kB / 1.04 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.6624, allocations: 34.17 kB / 1.04 GB, free: 10.49 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.6624, allocations: 4 kB / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6624, allocations: 3.938 kB / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6624, allocations: 0 / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.6639, allocations: 0.8298 MB / 1.041 GB, free: 9.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6639, allocations: 3.938 kB / 1.041 GB, free: 9.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.6641, allocations: 31.92 kB / 1.041 GB, free: 9.535 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.6645, allocations: 97.69 kB / 1.041 GB, free: 9.434 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.6645, allocations: 8 kB / 1.041 GB, free: 9.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.6676, allocations: 3.016 MB / 1.044 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6676, allocations: 8.188 kB / 1.044 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008598/0.6685, allocations: 416.4 kB / 1.044 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.6687, allocations: 124.7 kB / 1.044 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.6687, allocations: 0 / 1.044 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.6689, allocations: 15.98 kB / 1.044 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.669, allocations: 19.97 kB / 1.044 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.669, allocations: 4.094 kB / 1.044 GB, free: 5.504 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001627/0.6692, allocations: 164.5 kB / 1.044 GB, free: 5.344 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6692, allocations: 0 / 1.044 GB, free: 5.344 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006822/0.6699, allocations: 171.4 kB / 1.045 GB, free: 5.176 MB / 0.795 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.001091/0.671, allocations: 0.959 MB / 1.045 GB, free: 4.18 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.673, allocations: 0.7764 MB / 1.046 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.673, allocations: 0 / 1.046 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.6738, allocations: 375 kB / 1.047 GB, free: 2.977 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.6743, allocations: 62.64 kB / 1.047 GB, free: 2.914 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.6787, allocations: 2.835 MB / 1.049 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/0.6793, allocations: 0.8146 MB / 1.05 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002283/0.6796, allocations: 58.23 kB / 1.05 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.6797, allocations: 91.41 kB / 1.05 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.6797, allocations: 3.938 kB / 1.05 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.7146, allocations: 7.211 MB / 1.057 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.43, allocations: 13.39 kB / 1.057 GB, free: 7.855 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)