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.001173/0.001173, allocations: 105.4 kB / 15.7 MB, free: 24 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.001321/0.001321, allocations: 198 kB / 16.64 MB, free: 6.449 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.487/1.487, 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.77/1.77, 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.001765/0.001765, allocations: 77.77 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2707, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01552/0.2863, allocations: 10.82 MB / 0.7942 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.3027, allocations: 8.878 MB / 0.8029 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.3047, allocations: 55.62 kB / 0.8029 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004995/0.3097, allocations: 1.675 MB / 0.8046 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.3162, allocations: 1.53 MB / 0.8061 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.319, allocations: 0.6739 MB / 0.8067 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004796/0.3238, allocations: 2.29 MB / 0.809 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.3264, allocations: 1.368 MB / 0.8103 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.3287, allocations: 0.9925 MB / 0.8113 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.331, allocations: 1.023 MB / 0.8123 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000555/0.3315, allocations: 136 kB / 0.8124 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.3337, allocations: 0.7955 MB / 0.8132 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009144/0.3347, allocations: 0.5725 MB / 0.8137 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.3365, allocations: 0.8784 MB / 0.8146 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.3405, allocations: 2.57 MB / 0.8171 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3406, allocations: 0 / 0.8171 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3406, allocations: 0 / 0.8171 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.699e-05/0.3407, allocations: 0 / 0.8171 GB, free: 10.86 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.00442/0.3451, allocations: 2.029 MB / 0.8191 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3452, allocations: 12.03 kB / 0.8191 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003525/0.3455, allocations: 178.1 kB / 0.8193 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.3565, allocations: 2.058 MB / 0.8213 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/0.3595, allocations: 1.212 MB / 0.8225 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.3596, allocations: 82.69 kB / 0.8225 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004918/0.3601, allocations: 123.9 kB / 0.8226 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00632/0.3664, allocations: 2.471 MB / 0.8251 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.308e-05/0.3665, allocations: 15.84 kB / 0.8251 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/0.3668, allocations: 55.98 kB / 0.8251 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003521/0.3672, allocations: 134 kB / 0.8253 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0086/0.3758, allocations: 2.537 MB / 0.8277 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.3929, allocations: 10.02 MB / 0.8375 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006209/0.3991, allocations: 1.96 MB / 0.8394 GB, free: 3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/0.4019, allocations: 0.9699 MB / 0.8404 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.038e-05/0.402, allocations: 8.422 kB / 0.8404 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.402, allocations: 43 kB / 0.8404 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.835e-06/0.402, allocations: 0 / 0.8404 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03062/0.4327, allocations: 8.703 MB / 0.8489 GB, free: 9.203 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4327, allocations: 68 kB / 0.849 GB, free: 9.121 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.4345, allocations: 1.105 MB / 0.8501 GB, free: 8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.4346, allocations: 41.7 kB / 0.8501 GB, free: 7.953 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000563/0.4352, allocations: 0.7341 MB / 0.8508 GB, free: 7.211 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.4355, allocations: 275.9 kB / 0.8511 GB, free: 6.938 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/0.436, allocations: 202.4 kB / 0.8513 GB, free: 6.734 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4361, allocations: 341.9 kB / 0.8516 GB, free: 6.395 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/0.4391, allocations: 1.075 MB / 0.8527 GB, free: 5.316 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/0.4424, allocations: 1.305 MB / 0.8539 GB, free: 3.918 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006209/0.4486, allocations: 2.386 MB / 0.8563 GB, free: 1.441 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.4486, allocations: 4 kB / 0.8563 GB, free: 1.438 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009389/0.458, allocations: 3.272 MB / 0.8595 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.4581, allocations: 8 kB / 0.8595 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.4581, allocations: 8 kB / 0.8595 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/0.4609, allocations: 0.7877 MB / 0.8602 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/0.4629, allocations: 419.2 kB / 0.8606 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/0.4804, allocations: 15.92 MB / 0.8762 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.4828, allocations: 291.6 kB / 0.8765 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.4831, allocations: 47.97 kB / 0.8765 GB, free: 11.52 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.0008925/0.484, allocations: 404.3 kB / 0.8769 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.4844, allocations: 142.3 kB / 0.877 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009039/0.4934, allocations: 3.202 MB / 0.8802 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.4935, allocations: 11.94 kB / 0.8802 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.964e-05/0.4935, allocations: 8 kB / 0.8802 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.4935, allocations: 7.922 kB / 0.8802 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.5054, allocations: 4.905 MB / 0.885 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.5054, allocations: 3.938 kB / 0.885 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.5071, allocations: 359.7 kB / 0.8853 GB, free: 2.316 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002444/0.5095, allocations: 0.6935 MB / 0.886 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.5097, allocations: 27.97 kB / 0.886 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/0.5266, allocations: 15.55 MB / 0.9012 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/0.5267, allocations: 7.984 kB / 0.9012 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008367/0.5351, allocations: 3.039 MB / 0.9042 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009252/0.5361, allocations: 383.2 kB / 0.9046 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004275/0.5365, allocations: 16 kB / 0.9046 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.5386, allocations: 299.4 kB / 0.9049 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.5389, allocations: 80.48 kB / 0.9049 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.539, allocations: 39.97 kB / 0.905 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001202/0.5402, allocations: 0.7405 MB / 0.9057 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5403, allocations: 0 / 0.9057 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00176/0.542, allocations: 432 kB / 0.9061 GB, free: 11.79 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.008542/0.5506, allocations: 3.612 MB / 0.9096 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008694/0.5593, allocations: 3.633 MB / 0.9132 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.5594, allocations: 4 kB / 0.9132 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005202/0.5646, allocations: 2.364 MB / 0.9155 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/0.5676, allocations: 0.5235 MB / 0.916 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4299/0.9975, allocations: 15.8 MB / 0.9314 GB, free: 125 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.9988, allocations: 1.386 MB / 0.9328 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001647/1, allocations: 373 kB / 0.9331 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.002, allocations: 0.5985 MB / 0.9337 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/1.002, allocations: 0 / 0.9337 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09799/1.1, allocations: 41.27 MB / 0.974 GB, free: 101 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.82, allocations: 0 / 0.974 GB, free: 101 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --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)