Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",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.001507/0.001507, allocations: 108 kB / 15.61 MB, free: 152 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.001945/0.001945, allocations: 193 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.858/1.858, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 68.89 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2247, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008096/0.2329, allocations: 6.243 MB / 0.7896 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006881/0.2398, allocations: 4.574 MB / 0.794 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006885/0.2405, allocations: 23.88 kB / 0.7941 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.243, allocations: 0.9079 MB / 0.7949 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.2456, allocations: 0.7729 MB / 0.7957 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009159/0.2465, allocations: 319.5 kB / 0.796 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.2481, allocations: 1.129 MB / 0.7971 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.2493, allocations: 0.6812 MB / 0.7978 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.2503, allocations: 478.3 kB / 0.7982 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009784/0.2513, allocations: 0.4942 MB / 0.7987 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.2515, allocations: 72 kB / 0.7988 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008187/0.2523, allocations: 271.5 kB / 0.799 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.2526, allocations: 255.2 kB / 0.7993 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.2533, allocations: 410 kB / 0.7997 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.2545, allocations: 1.063 MB / 0.8007 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2546, allocations: 0 / 0.8007 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2546, allocations: 0 / 0.8007 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.2546, allocations: 0 / 0.8007 GB, free: 11.67 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00203/0.2566, allocations: 1.094 MB / 0.8018 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.2567, allocations: 12.03 kB / 0.8018 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.2568, allocations: 98.69 kB / 0.8019 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.2601, allocations: 0.6281 MB / 0.8025 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009227/0.261, allocations: 0.5462 MB / 0.803 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.2611, allocations: 41.69 kB / 0.8031 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/0.2612, allocations: 55.92 kB / 0.8031 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.2633, allocations: 1.014 MB / 0.8041 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.2633, allocations: 0 / 0.8041 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.2634, allocations: 24 kB / 0.8041 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.742e-05/0.2635, allocations: 53.28 kB / 0.8042 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.266, allocations: 1.004 MB / 0.8052 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004693/0.2707, allocations: 3.505 MB / 0.8086 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.2723, allocations: 498.2 kB / 0.8091 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.2728, allocations: 228.7 kB / 0.8093 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.2729, allocations: 4 kB / 0.8093 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2729, allocations: 34.56 kB / 0.8093 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/0.2729, allocations: 0 / 0.8093 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.007259/0.2802, allocations: 2.026 MB / 0.8113 GB, free: 312 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.2803, allocations: 55.41 kB / 0.8114 GB, free: 244 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.281, allocations: 0.5667 MB / 0.8119 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.281, allocations: 33.7 kB / 0.8119 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.2813, allocations: 352.2 kB / 0.8123 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2814, allocations: 149.8 kB / 0.8124 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.2816, allocations: 90.16 kB / 0.8125 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002357/0.2818, allocations: 378.7 kB / 0.8129 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009438/0.2828, allocations: 254.9 kB / 0.8131 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.2836, allocations: 373.7 kB / 0.8135 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.285, allocations: 0.6186 MB / 0.8141 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.285, allocations: 0 / 0.8141 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002471/0.2875, allocations: 0.9348 MB / 0.815 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.569e-05/0.2876, allocations: 4 kB / 0.815 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2876, allocations: 4 kB / 0.815 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.2888, allocations: 277.2 kB / 0.8153 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.2894, allocations: 123.7 kB / 0.8154 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0096/0.299, allocations: 9.114 MB / 0.8243 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008252/0.2999, allocations: 44.02 kB / 0.8243 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.2999, allocations: 27.92 kB / 0.8243 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001071/0.301, allocations: 433 kB / 0.8248 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007779/0.3018, allocations: 361.4 kB / 0.8251 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0021/0.3039, allocations: 0.609 MB / 0.8257 GB, free: 472 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.181e-06/0.3039, allocations: 0 / 0.8257 GB, free: 472 kB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00309/0.307, allocations: 1.117 MB / 0.8268 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3071, allocations: 11.94 kB / 0.8268 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3071, allocations: 4.344 kB / 0.8268 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000841/0.3079, allocations: 225 kB / 0.827 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.3086, allocations: 119.8 kB / 0.8271 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006709/0.3153, allocations: 8.793 MB / 0.8357 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.316, allocations: 43.94 kB / 0.8358 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.3161, allocations: 20 kB / 0.8358 GB, free: 5.195 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002297/0.3163, allocations: 229 kB / 0.836 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.3165, allocations: 63.25 kB / 0.8361 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.3167, allocations: 82.38 kB / 0.8361 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3167, allocations: 4 kB / 0.8361 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.567e-06/0.3167, allocations: 144 / 0.8361 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.3167, allocations: 11.97 kB / 0.8361 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008289/0.3175, allocations: 0.6493 MB / 0.8368 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3175, allocations: 0 / 0.8368 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.3181, allocations: 83.92 kB / 0.8369 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000951/0.319, allocations: 260.8 kB / 0.8371 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.3191, allocations: 15.92 kB / 0.8371 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007246/0.3263, allocations: 9.054 MB / 0.846 GB, free: 9.844 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3264, allocations: 8.016 kB / 0.846 GB, free: 9.836 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.3287, allocations: 0.913 MB / 0.8469 GB, free: 8.887 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.329, allocations: 184.2 kB / 0.847 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.499e-05/0.3291, allocations: 16 kB / 0.8471 GB, free: 8.672 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.3296, allocations: 43.88 kB / 0.8471 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.3298, allocations: 35.95 kB / 0.8471 GB, free: 8.594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.3298, allocations: 15.98 kB / 0.8471 GB, free: 8.578 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005658/0.3304, allocations: 403.1 kB / 0.8475 GB, free: 8.188 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3304, allocations: 0 / 0.8475 GB, free: 8.188 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001065/0.3314, allocations: 304 kB / 0.8478 GB, free: 7.891 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002675/0.3341, allocations: 1.466 MB / 0.8493 GB, free: 6.379 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004109/0.3383, allocations: 2.399 MB / 0.8516 GB, free: 3.824 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3383, allocations: 0 / 0.8516 GB, free: 3.824 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.3397, allocations: 1.019 MB / 0.8526 GB, free: 2.727 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.3409, allocations: 222.3 kB / 0.8528 GB, free: 2.527 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.3524, allocations: 6.395 MB / 0.859 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.3531, allocations: 0.9781 MB / 0.86 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006365/0.3538, allocations: 153.3 kB / 0.8602 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.3541, allocations: 235.4 kB / 0.8604 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/0.3541, allocations: 7.938 kB / 0.8604 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07454/0.4287, allocations: 19.53 MB / 0.8795 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.32, allocations: 7.734 kB / 0.8795 GB, free: 7.246 MB / 0.7012 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)