Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.625/1.625, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 180.3 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008246/0.0008246, allocations: 88.19 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 10.06 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1949, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.00879/0.2038, allocations: 9.724 MB / 0.9098 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2139, allocations: 8.256 MB / 0.9179 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.2155, allocations: 47.69 kB / 0.9179 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.2167, allocations: 273.8 kB / 0.9182 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.2207, allocations: 1.252 MB / 0.9194 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.2223, allocations: 465.3 kB / 0.9198 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002875/0.2252, allocations: 2.453 MB / 0.9222 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002959/0.2281, allocations: 1.782 MB / 0.924 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.2296, allocations: 0.7897 MB / 0.9247 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.231, allocations: 0.9066 MB / 0.9256 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.2313, allocations: 60 kB / 0.9257 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.2326, allocations: 463.4 kB / 0.9261 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.2332, allocations: 478.4 kB / 0.9266 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005461/0.2337, allocations: 340.8 kB / 0.9269 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.2357, allocations: 1.956 MB / 0.9288 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2357, allocations: 3.938 kB / 0.9288 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2357, allocations: 0 / 0.9288 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.349e-05/0.2358, allocations: 0 / 0.9288 GB, free: 34.44 MB / 0.6042 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.002813/0.2386, allocations: 1.726 MB / 0.9305 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2387, allocations: 12.03 kB / 0.9305 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002354/0.2389, allocations: 189.9 kB / 0.9307 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.2492, allocations: 2.116 MB / 0.9328 GB, free: 30.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.2515, allocations: 1.072 MB / 0.9338 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.2516, allocations: 90.25 kB / 0.9339 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.2518, allocations: 119.9 kB / 0.934 GB, free: 28.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005024/0.2568, allocations: 2.498 MB / 0.9365 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.2569, allocations: 7.938 kB / 0.9365 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.257, allocations: 51.98 kB / 0.9365 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003867/0.2574, allocations: 130.1 kB / 0.9366 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006464/0.2639, allocations: 2.58 MB / 0.9392 GB, free: 23.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.2759, allocations: 10.12 MB / 0.949 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005623/0.2815, allocations: 2.004 MB / 0.951 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002484/0.2841, allocations: 0.9932 MB / 0.952 GB, free: 9.754 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.2841, allocations: 8.422 kB / 0.952 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2842, allocations: 43 kB / 0.952 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.2842, allocations: 0 / 0.952 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.02834/0.3125, allocations: 8.758 MB / 0.9606 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.3126, allocations: 60.06 kB / 0.9606 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.3141, allocations: 1.093 MB / 0.9617 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.3142, allocations: 37.7 kB / 0.9617 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000567/0.3148, allocations: 0.7379 MB / 0.9624 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.3151, allocations: 279.9 kB / 0.9627 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.443e-05/0.3152, allocations: 20 kB / 0.9627 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3154, allocations: 345.9 kB / 0.9631 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.3184, allocations: 1.091 MB / 0.9641 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003114/0.3215, allocations: 1.321 MB / 0.9654 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/0.3246, allocations: 1.154 MB / 0.9665 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3246, allocations: 4 kB / 0.9666 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009032/0.3336, allocations: 3.296 MB / 0.9698 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.3337, allocations: 10.97 kB / 0.9698 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.3337, allocations: 8 kB / 0.9698 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/0.3367, allocations: 0.7874 MB / 0.9706 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.3388, allocations: 439.2 kB / 0.971 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/0.3553, allocations: 14.67 MB / 0.9853 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.3577, allocations: 307.6 kB / 0.9856 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.3579, allocations: 51.95 kB / 0.9856 GB, free: 5.918 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007559/0.3586, allocations: 393.5 kB / 0.986 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.3589, allocations: 150.2 kB / 0.9862 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00906/0.368, allocations: 3.234 MB / 0.9893 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.368, allocations: 8 kB / 0.9893 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/0.3681, allocations: 8 kB / 0.9893 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.3681, allocations: 3.984 kB / 0.9893 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.3797, allocations: 4.952 MB / 0.9942 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.3798, allocations: 4 kB / 0.9942 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.3815, allocations: 355.7 kB / 0.9945 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/0.3841, allocations: 0.6973 MB / 0.9952 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.3842, allocations: 31.97 kB / 0.9952 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.3992, allocations: 14.32 MB / 1.009 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3992, allocations: 4.062 kB / 1.009 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008134/0.4074, allocations: 3.085 MB / 1.012 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.4082, allocations: 387.1 kB / 1.013 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.4084, allocations: 12 kB / 1.013 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/0.4102, allocations: 307.5 kB / 1.013 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.4104, allocations: 80.45 kB / 1.013 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.246e-05/0.4105, allocations: 39.95 kB / 1.013 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009934/0.4115, allocations: 0.7288 MB / 1.014 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4116, allocations: 0 / 1.014 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001432/0.413, allocations: 432 kB / 1.014 GB, free: 7.363 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008527/0.4215, allocations: 3.643 MB / 1.018 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00879/0.4303, allocations: 3.652 MB / 1.021 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.4304, allocations: 4.125 kB / 1.021 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/0.4357, allocations: 2.379 MB / 1.024 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.4383, allocations: 498.2 kB / 1.024 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/0.4647, allocations: 12 MB / 1.036 GB, free: 444 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.4659, allocations: 1.384 MB / 1.037 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001799/0.4677, allocations: 379.9 kB / 1.038 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008454/0.4685, allocations: 0.5891 MB / 1.038 GB, free: 14.05 MB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/0.4685, allocations: 0 / 1.038 GB, free: 14.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4175/0.886, allocations: 40.3 MB / 1.077 GB, free: 132.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.8862, allocations: 220 kB / 1.078 GB, free: 132.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/3.948, allocations: 0 / 1.078 GB, free: 132.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)