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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001653/0.001653, 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.002311/0.002311, allocations: 198.5 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.27 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2873, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006332/0.2937, allocations: 4.104 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.2964, allocations: 1.589 MB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.2966, allocations: 11.94 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.2983, allocations: 0.5721 MB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.2988, allocations: 242.8 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.2994, allocations: 211.5 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.3, allocations: 0.5413 MB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007107/0.3007, allocations: 482 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.301, allocations: 227.3 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.3015, allocations: 255.1 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.681e-05/0.3016, allocations: 40 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.3019, allocations: 159.7 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3021, allocations: 147.7 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.3023, allocations: 203 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.3029, allocations: 0.5102 MB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.303, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.303, allocations: 4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.303, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 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.00125/0.3042, allocations: 0.6749 MB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3043, allocations: 11.97 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.899e-05/0.3044, allocations: 78.72 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000762/0.3051, allocations: 108.4 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3055, allocations: 304.1 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.3056, allocations: 59.2 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.3057, allocations: 32.36 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.3065, allocations: 0.5007 MB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3065, allocations: 4 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.3066, allocations: 19.98 kB / 1.074 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/0.3066, allocations: 28.97 kB / 1.074 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.3074, allocations: 379.7 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.3098, allocations: 2.208 MB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.3105, allocations: 258.6 kB / 1.077 GB, free: 252 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.3109, allocations: 156.7 kB / 1.077 GB, free: 92 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.311, allocations: 3.984 kB / 1.077 GB, free: 88 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.311, allocations: 38.56 kB / 1.077 GB, free: 40 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.502e-06/0.311, allocations: 0 / 1.077 GB, free: 40 kB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.00154/0.3125, allocations: 0.5654 MB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3126, allocations: 59.41 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3128, allocations: 225 kB / 1.078 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3128, allocations: 29.7 kB / 1.078 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.313, allocations: 211.6 kB / 1.078 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.313, allocations: 63.09 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.3131, allocations: 57.59 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3133, allocations: 326.8 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.3135, allocations: 104.8 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.3138, allocations: 186.9 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.3143, allocations: 274.9 kB / 1.079 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3143, allocations: 3.938 kB / 1.079 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008735/0.3152, allocations: 374.8 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3152, allocations: 7.938 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.3152, allocations: 7.938 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005082/0.3157, allocations: 113.9 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.316, allocations: 51.84 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.3192, allocations: 3.052 MB / 1.083 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.3195, allocations: 31.69 kB / 1.083 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.3195, allocations: 16.08 kB / 1.083 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000327/0.3198, allocations: 221.8 kB / 1.083 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002761/0.3201, allocations: 179.6 kB / 1.083 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004702/0.3206, allocations: 262.8 kB / 1.084 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.155e-06/0.3206, allocations: 4 kB / 1.084 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008029/0.3214, allocations: 352.2 kB / 1.084 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.3214, allocations: 4 kB / 1.084 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3215, allocations: 7.938 kB / 1.084 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000313/0.3218, allocations: 85.12 kB / 1.084 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.322, allocations: 55.91 kB / 1.084 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.324, allocations: 1.617 MB / 1.086 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.3243, allocations: 39.73 kB / 1.086 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3243, allocations: 12 kB / 1.086 GB, free: 6.82 MB / 0.8419 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.0001192/0.3245, allocations: 193.3 kB / 1.086 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.3245, allocations: 19.81 kB / 1.086 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.3246, allocations: 26.17 kB / 1.086 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3246, allocations: 4 kB / 1.086 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3246, allocations: 3.938 kB / 1.086 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3246, allocations: 4.141 kB / 1.086 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.3259, allocations: 0.8302 MB / 1.087 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.326, allocations: 4 kB / 1.087 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.3261, allocations: 31.97 kB / 1.087 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.3265, allocations: 101.7 kB / 1.087 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3266, allocations: 4 kB / 1.087 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.3295, allocations: 3.028 MB / 1.09 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3295, allocations: 0 / 1.09 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.3303, allocations: 418.5 kB / 1.09 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3304, allocations: 112.8 kB / 1.09 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.3304, allocations: 19.92 kB / 1.09 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.3306, allocations: 4 kB / 1.09 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.3307, allocations: 23.91 kB / 1.09 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3307, allocations: 12 kB / 1.09 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001323/0.3309, allocations: 160.5 kB / 1.091 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3309, allocations: 0 / 1.091 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005916/0.3315, allocations: 175.3 kB / 1.091 GB, free: 1.258 MB / 0.8419 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.001039/0.3325, allocations: 0.9434 MB / 1.092 GB, free: 284 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.3345, allocations: 0.7715 MB / 1.092 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3345, allocations: 4.312 kB / 1.092 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007796/0.3353, allocations: 367.3 kB / 1.093 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.3357, allocations: 68.66 kB / 1.093 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.3397, allocations: 2.838 MB / 1.096 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.3401, allocations: 0.8107 MB / 1.096 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002008/0.3403, allocations: 54.25 kB / 1.096 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3404, allocations: 91.41 kB / 1.097 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.3404, allocations: 0 / 1.097 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.3711, allocations: 7.217 MB / 1.104 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.21, allocations: 7.938 kB / 1.104 GB, free: 3.969 MB / 0.8575 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 50 --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)