Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001351/0.00135, 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.001311/0.001312, allocations: 195 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.554/1.554, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.821/1.821, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.002202/0.002202, allocations: 70.77 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3328, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008548/0.3414, allocations: 6.06 MB / 0.7894 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006048/0.3475, allocations: 3.204 MB / 0.7925 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006617/0.3482, allocations: 27.81 kB / 0.7926 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.3508, allocations: 0.9336 MB / 0.7935 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.3523, allocations: 481.5 kB / 0.7939 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.3536, allocations: 482.1 kB / 0.7944 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.3555, allocations: 1.088 MB / 0.7954 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.3568, allocations: 0.6391 MB / 0.7961 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/0.3577, allocations: 430.4 kB / 0.7965 GB, free: 36 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007421/0.3584, allocations: 474.2 kB / 0.7969 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.854e-05/0.3586, allocations: 60 kB / 0.797 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.3597, allocations: 490.9 kB / 0.7975 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.3601, allocations: 283.2 kB / 0.7977 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.3605, allocations: 405.9 kB / 0.7981 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.362, allocations: 1.16 MB / 0.7993 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.362, allocations: 0 / 0.7993 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.493e-06/0.362, allocations: 0 / 0.7993 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.362, allocations: 0 / 0.7993 GB, free: 13.19 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001855/0.3639, allocations: 1.054 MB / 0.8003 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.3639, allocations: 12.03 kB / 0.8003 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.3641, allocations: 110.7 kB / 0.8004 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.3656, allocations: 219.6 kB / 0.8006 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.3664, allocations: 0.5376 MB / 0.8011 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.3665, allocations: 49.67 kB / 0.8012 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.3666, allocations: 60.38 kB / 0.8012 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.368, allocations: 1.03 MB / 0.8022 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.3681, allocations: 15.78 kB / 0.8023 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.3682, allocations: 35.98 kB / 0.8023 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.795e-05/0.3683, allocations: 65.27 kB / 0.8024 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.3694, allocations: 0.6996 MB / 0.803 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/0.3747, allocations: 5.737 MB / 0.8086 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.3757, allocations: 0.6053 MB / 0.8092 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007904/0.3765, allocations: 421.3 kB / 0.8096 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.3765, allocations: 7.781 kB / 0.8096 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3765, allocations: 38.56 kB / 0.8097 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.3766, allocations: 0 / 0.8097 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004446/0.381, allocations: 2.053 MB / 0.8117 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3811, allocations: 55.41 kB / 0.8117 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.3816, allocations: 458.7 kB / 0.8122 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.999e-05/0.3817, allocations: 37.7 kB / 0.8122 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.382, allocations: 383.1 kB / 0.8126 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.3822, allocations: 153.8 kB / 0.8127 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.3824, allocations: 110.2 kB / 0.8128 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000331/0.3827, allocations: 366.8 kB / 0.8132 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.3831, allocations: 245.2 kB / 0.8134 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.3836, allocations: 464.9 kB / 0.8139 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/0.3845, allocations: 0.7558 MB / 0.8146 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3845, allocations: 0 / 0.8146 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001937/0.3864, allocations: 1.061 MB / 0.8156 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3865, allocations: 8.875 kB / 0.8156 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.3865, allocations: 8 kB / 0.8156 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.3875, allocations: 343.1 kB / 0.816 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.3879, allocations: 95.83 kB / 0.8161 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007449/0.3953, allocations: 7.516 MB / 0.8234 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.3958, allocations: 28.3 kB / 0.8234 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.3959, allocations: 32 kB / 0.8235 GB, free: 2.773 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003533/0.3962, allocations: 245.5 kB / 0.8237 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/0.3963, allocations: 59.34 kB / 0.8237 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.398, allocations: 0.9159 MB / 0.8246 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.398, allocations: 4 kB / 0.8246 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.398, allocations: 4 kB / 0.8247 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3981, allocations: 3.984 kB / 0.8247 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.4006, allocations: 1.704 MB / 0.8263 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4006, allocations: 3.938 kB / 0.8263 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.4008, allocations: 43.91 kB / 0.8264 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009452/0.4018, allocations: 327.2 kB / 0.8267 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.4018, allocations: 12 kB / 0.8267 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007083/0.4089, allocations: 7.511 MB / 0.834 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4089, allocations: 4.031 kB / 0.834 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.4106, allocations: 1.014 MB / 0.835 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/0.411, allocations: 176.2 kB / 0.8352 GB, free: 6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.411, allocations: 11.98 kB / 0.8352 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.4113, allocations: 23.98 kB / 0.8352 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.4114, allocations: 39.88 kB / 0.8353 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.4115, allocations: 16 kB / 0.8353 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003529/0.4118, allocations: 306.9 kB / 0.8356 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4118, allocations: 0 / 0.8356 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008212/0.4127, allocations: 199.9 kB / 0.8358 GB, free: 5.418 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/0.4146, allocations: 1.56 MB / 0.8373 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001995/0.4166, allocations: 1.249 MB / 0.8385 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4166, allocations: 0 / 0.8385 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.4178, allocations: 0.8621 MB / 0.8393 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4188, allocations: 207.7 kB / 0.8395 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008666/0.4275, allocations: 5.96 MB / 0.8454 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/0.4283, allocations: 0.9843 MB / 0.8463 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004014/0.4287, allocations: 97.27 kB / 0.8464 GB, free: 9.996 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.429, allocations: 223.4 kB / 0.8466 GB, free: 9.777 MB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/0.429, allocations: 4 kB / 0.8466 GB, free: 9.773 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04874/0.4778, allocations: 15.18 MB / 0.8614 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.724/10.2, allocations: 1.172 kB / 0.8615 GB, free: 10.82 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)