Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001148/0.001148, 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.001483/0.001484, 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.492/1.492, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.803/1.803, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001451/0.001451, allocations: 70.98 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2941, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01353/0.3077, allocations: 10.82 MB / 0.794 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.3224, allocations: 8.866 MB / 0.8027 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.3244, allocations: 59.62 kB / 0.8028 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004587/0.329, allocations: 1.665 MB / 0.8044 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006275/0.3353, allocations: 1.537 MB / 0.8059 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.3373, allocations: 0.6737 MB / 0.8065 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.3401, allocations: 2.286 MB / 0.8088 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.342, allocations: 1.376 MB / 0.8101 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.3434, allocations: 0.977 MB / 0.8111 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.3448, allocations: 1.027 MB / 0.8121 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.345, allocations: 136 kB / 0.8122 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.3467, allocations: 0.7955 MB / 0.813 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005637/0.3473, allocations: 0.5725 MB / 0.8135 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000926/0.3482, allocations: 0.8861 MB / 0.8144 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.351, allocations: 2.539 MB / 0.8169 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.351, allocations: 3.938 kB / 0.8169 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.351, allocations: 4 kB / 0.8169 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.585e-05/0.3511, allocations: 0 / 0.8169 GB, free: 10.96 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003076/0.3541, allocations: 2.02 MB / 0.8189 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.3542, allocations: 8.031 kB / 0.8189 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/0.3544, allocations: 186.1 kB / 0.8191 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.3653, allocations: 2.054 MB / 0.8211 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.3673, allocations: 1.123 MB / 0.8222 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/0.3674, allocations: 86.69 kB / 0.8222 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.3676, allocations: 115.9 kB / 0.8224 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005453/0.3731, allocations: 2.482 MB / 0.8248 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.3731, allocations: 15.78 kB / 0.8248 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.3733, allocations: 51.98 kB / 0.8248 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003459/0.3736, allocations: 134.1 kB / 0.825 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007066/0.3807, allocations: 2.533 MB / 0.8274 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.3947, allocations: 10.07 MB / 0.8373 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/0.401, allocations: 1.952 MB / 0.8392 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00273/0.4038, allocations: 0.9738 MB / 0.8401 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.4038, allocations: 8.422 kB / 0.8401 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.4039, allocations: 39 kB / 0.8402 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.4039, allocations: 0 / 0.8402 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03024/0.4341, allocations: 8.711 MB / 0.8487 GB, free: 9.348 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.4342, allocations: 64 kB / 0.8487 GB, free: 9.27 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.4356, allocations: 1.101 MB / 0.8498 GB, free: 8.152 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.4357, allocations: 41.7 kB / 0.8499 GB, free: 8.105 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000487/0.4362, allocations: 0.738 MB / 0.8506 GB, free: 7.359 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.4365, allocations: 275.9 kB / 0.8508 GB, free: 7.086 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.4368, allocations: 206.4 kB / 0.851 GB, free: 6.879 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.437, allocations: 341.9 kB / 0.8514 GB, free: 6.539 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.4398, allocations: 1.075 MB / 0.8524 GB, free: 5.461 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/0.4429, allocations: 1.305 MB / 0.8537 GB, free: 4.062 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005776/0.4487, allocations: 2.386 MB / 0.856 GB, free: 1.586 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4488, allocations: 4 kB / 0.856 GB, free: 1.582 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008644/0.4574, allocations: 3.273 MB / 0.8592 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.4575, allocations: 8 kB / 0.8592 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4575, allocations: 8 kB / 0.8592 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/0.4602, allocations: 0.795 MB / 0.86 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.4622, allocations: 415.3 kB / 0.8604 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.4782, allocations: 15.93 MB / 0.876 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.4805, allocations: 287.5 kB / 0.8762 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.4807, allocations: 47.97 kB / 0.8763 GB, free: 11.65 MB / 0.7012 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0007082/0.4814, allocations: 408.4 kB / 0.8767 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.4816, allocations: 142.3 kB / 0.8768 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008521/0.4902, allocations: 3.202 MB / 0.8799 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.4902, allocations: 8 kB / 0.8799 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.4902, allocations: 8 kB / 0.88 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4903, allocations: 7.984 kB / 0.88 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.5015, allocations: 4.908 MB / 0.8848 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.5016, allocations: 0 / 0.8848 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.5032, allocations: 355.4 kB / 0.8851 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/0.5056, allocations: 0.7015 MB / 0.8858 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.5057, allocations: 31.95 kB / 0.8858 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.5207, allocations: 15.56 MB / 0.901 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.5207, allocations: 7.938 kB / 0.901 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007996/0.5287, allocations: 3.034 MB / 0.904 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007309/0.5295, allocations: 387.2 kB / 0.9043 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.5297, allocations: 19.94 kB / 0.9044 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.5316, allocations: 295.4 kB / 0.9046 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.5318, allocations: 80.5 kB / 0.9047 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.974e-05/0.5319, allocations: 43.95 kB / 0.9048 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009356/0.5329, allocations: 0.7327 MB / 0.9055 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.333e-06/0.5329, allocations: 0 / 0.9055 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001424/0.5343, allocations: 435.9 kB / 0.9059 GB, free: 11.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.008265/0.5426, allocations: 3.614 MB / 0.9094 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008744/0.5513, allocations: 3.765 MB / 0.9131 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.5514, allocations: 0 / 0.9131 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004934/0.5563, allocations: 2.364 MB / 0.9154 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.5586, allocations: 0.5311 MB / 0.9159 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4511/1.01, allocations: 16.56 MB / 0.9321 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/1.011, allocations: 1.387 MB / 0.9334 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00173/1.013, allocations: 370.2 kB / 0.9338 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008032/1.014, allocations: 0.6011 MB / 0.9344 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.473e-06/1.014, allocations: 1.469 kB / 0.9344 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08405/1.098, allocations: 41.23 MB / 0.9747 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.62, allocations: 7.406 kB / 0.9747 GB, free: 100.2 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)