Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.001067/0.001067, allocations: 101.4 kB / 15.7 MB, free: 28 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.001147/0.001147, allocations: 191.8 kB / 16.64 MB, free: 6.445 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.699/1.699, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001401/0.001401, allocations: 69.98 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2505, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009273/0.2598, allocations: 6.7 MB / 0.7902 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005134/0.265, allocations: 3.068 MB / 0.7932 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000417/0.2655, allocations: 27.81 kB / 0.7932 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.2679, allocations: 0.944 MB / 0.7941 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.2691, allocations: 0.5051 MB / 0.7946 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.2702, allocations: 434.3 kB / 0.795 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.2717, allocations: 1.22 MB / 0.7962 GB, free: 336 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009509/0.2727, allocations: 0.6586 MB / 0.7969 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005733/0.2733, allocations: 478.3 kB / 0.7973 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.2739, allocations: 0.5176 MB / 0.7978 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.274, allocations: 64 kB / 0.7979 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007065/0.2748, allocations: 379.3 kB / 0.7983 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.275, allocations: 307.2 kB / 0.7985 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.2755, allocations: 449.7 kB / 0.799 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.2767, allocations: 1.211 MB / 0.8002 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.2767, allocations: 7.938 kB / 0.8002 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2767, allocations: 0 / 0.8002 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.2767, allocations: 0 / 0.8002 GB, free: 12.28 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001804/0.2785, allocations: 1.161 MB / 0.8013 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2786, allocations: 8.031 kB / 0.8013 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.2787, allocations: 126.7 kB / 0.8014 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.2802, allocations: 235.6 kB / 0.8016 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008696/0.2811, allocations: 0.592 MB / 0.8022 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.2811, allocations: 45.69 kB / 0.8023 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2813, allocations: 64.36 kB / 0.8023 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.2827, allocations: 1.093 MB / 0.8034 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.2828, allocations: 3.938 kB / 0.8034 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.027e-05/0.2828, allocations: 35.98 kB / 0.8034 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.283, allocations: 89.23 kB / 0.8035 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2841, allocations: 0.7465 MB / 0.8043 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005355/0.2895, allocations: 5.866 MB / 0.81 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.2904, allocations: 0.5621 MB / 0.8105 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.2909, allocations: 326 kB / 0.8108 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.2909, allocations: 4.438 kB / 0.8108 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.2909, allocations: 39 kB / 0.8109 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.291, allocations: 0 / 0.8109 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003801/0.2948, allocations: 1.99 MB / 0.8128 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.2948, allocations: 55.84 kB / 0.8129 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.2954, allocations: 0.5585 MB / 0.8134 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.2955, allocations: 37.7 kB / 0.8135 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.2958, allocations: 414.9 kB / 0.8139 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.296, allocations: 173.6 kB / 0.814 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.2962, allocations: 122.5 kB / 0.8141 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2964, allocations: 382.7 kB / 0.8145 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.2967, allocations: 277.8 kB / 0.8148 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.2973, allocations: 492.9 kB / 0.8152 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2984, allocations: 0.8093 MB / 0.816 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2984, allocations: 4 kB / 0.816 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001862/0.3003, allocations: 1.086 MB / 0.8171 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3003, allocations: 8 kB / 0.8171 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3003, allocations: 8 kB / 0.8171 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008231/0.3011, allocations: 280 kB / 0.8174 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.3016, allocations: 127.8 kB / 0.8175 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006955/0.3086, allocations: 7.138 MB / 0.8245 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007203/0.3093, allocations: 39.95 kB / 0.8245 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.3094, allocations: 28 kB / 0.8245 GB, free: 1.73 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004742/0.3099, allocations: 253.6 kB / 0.8248 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.31, allocations: 71.16 kB / 0.8248 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.3115, allocations: 0.8885 MB / 0.8257 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3116, allocations: 8 kB / 0.8257 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3116, allocations: 0 / 0.8257 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.3116, allocations: 7.984 kB / 0.8257 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.3142, allocations: 1.724 MB / 0.8274 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.3142, allocations: 3.938 kB / 0.8274 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.3144, allocations: 63.88 kB / 0.8275 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007383/0.3152, allocations: 263.4 kB / 0.8277 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.3152, allocations: 19.94 kB / 0.8277 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006823/0.3221, allocations: 7.115 MB / 0.8347 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3221, allocations: 4.031 kB / 0.8347 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.3236, allocations: 0.9954 MB / 0.8357 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.3239, allocations: 192.1 kB / 0.8359 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/0.324, allocations: 15.94 kB / 0.8359 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.3244, allocations: 23.97 kB / 0.8359 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.753e-05/0.3245, allocations: 43.94 kB / 0.8359 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.3245, allocations: 20 kB / 0.836 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004424/0.325, allocations: 383.1 kB / 0.8363 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.325, allocations: 0 / 0.8363 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007893/0.3258, allocations: 220 kB / 0.8365 GB, free: 4.695 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001815/0.3276, allocations: 1.54 MB / 0.838 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001915/0.3295, allocations: 1.283 MB / 0.8393 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3296, allocations: 0 / 0.8393 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3307, allocations: 0.8816 MB / 0.8401 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.3317, allocations: 211 kB / 0.8403 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008912/0.3406, allocations: 6.364 MB / 0.8466 GB, free: 9.926 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.3414, allocations: 1.005 MB / 0.8475 GB, free: 8.895 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000427/0.3418, allocations: 122 kB / 0.8477 GB, free: 8.773 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.3421, allocations: 251.3 kB / 0.8479 GB, free: 8.527 MB / 0.67 GB Notification: Performance of SimCode: time 1.283e-06/0.3421, allocations: 0 / 0.8479 GB, free: 8.527 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04524/0.3874, allocations: 17.15 MB / 0.8646 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.981/10.37, allocations: 7.328 kB / 0.8647 GB, free: 7.645 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)