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_RL.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_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.678/1.678, allocations: 252 MB / 267.3 MB, free: 10.86 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.001514/0.001514, allocations: 174.9 kB / 327 MB, free: 2.113 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.716/1.716, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0007772/0.0007772, allocations: 88.27 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 12.06 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1988, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004594/0.2034, allocations: 5.052 MB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.2067, allocations: 2.619 MB / 0.9084 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.207, allocations: 23.81 kB / 0.9084 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.2072, allocations: 107.1 kB / 0.9085 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006928/0.2079, allocations: 382.2 kB / 0.9089 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.2086, allocations: 355.3 kB / 0.9092 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007849/0.2094, allocations: 1.252 MB / 0.9105 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009639/0.2104, allocations: 0.7832 MB / 0.9112 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.2107, allocations: 318.6 kB / 0.9115 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.2111, allocations: 390.4 kB / 0.9119 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.2111, allocations: 24 kB / 0.9119 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005456/0.2117, allocations: 431.1 kB / 0.9123 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.2118, allocations: 227.3 kB / 0.9126 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.2121, allocations: 343.9 kB / 0.9129 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.2127, allocations: 0.95 MB / 0.9138 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2127, allocations: 0 / 0.9138 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2127, allocations: 0 / 0.9138 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2128, allocations: 4 kB / 0.9138 GB, free: 50.09 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001092/0.2139, allocations: 0.8492 MB / 0.9146 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2139, allocations: 12.03 kB / 0.9147 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.617e-05/0.214, allocations: 98.69 kB / 0.9148 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.2152, allocations: 187.9 kB / 0.9149 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.2158, allocations: 494.4 kB / 0.9154 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2158, allocations: 37.38 kB / 0.9154 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.2159, allocations: 60.33 kB / 0.9155 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.2168, allocations: 0.8278 MB / 0.9163 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2169, allocations: 7.938 kB / 0.9163 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.2169, allocations: 24 kB / 0.9163 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.2171, allocations: 68.94 kB / 0.9164 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.2178, allocations: 0.5658 MB / 0.917 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.2209, allocations: 4.589 MB / 0.9214 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.2213, allocations: 299.2 kB / 0.9217 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.2216, allocations: 229.3 kB / 0.9219 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.2216, allocations: 4.281 kB / 0.9219 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.2217, allocations: 38.84 kB / 0.922 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.2217, allocations: 0 / 0.922 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004764/0.2264, allocations: 2.628 MB / 0.9245 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.2265, allocations: 59.41 kB / 0.9246 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.2268, allocations: 453.9 kB / 0.925 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.2269, allocations: 33.7 kB / 0.9251 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.227, allocations: 347.6 kB / 0.9254 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.2271, allocations: 149.9 kB / 0.9255 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.2271, allocations: 8 kB / 0.9256 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.2272, allocations: 358.8 kB / 0.9259 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.2275, allocations: 237 kB / 0.9261 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.2278, allocations: 412.4 kB / 0.9265 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.2285, allocations: 0.6779 MB / 0.9272 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2285, allocations: 0 / 0.9272 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001374/0.2299, allocations: 0.9285 MB / 0.9281 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2299, allocations: 8 kB / 0.9281 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2299, allocations: 4 kB / 0.9281 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007072/0.2306, allocations: 223 kB / 0.9283 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.2311, allocations: 119.8 kB / 0.9284 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/0.2348, allocations: 4.937 MB / 0.9332 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.2352, allocations: 27.97 kB / 0.9333 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.2353, allocations: 28 kB / 0.9333 GB, free: 28.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002559/0.2355, allocations: 221.6 kB / 0.9335 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.2356, allocations: 59.41 kB / 0.9336 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.2369, allocations: 0.781 MB / 0.9343 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2369, allocations: 8 kB / 0.9343 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2369, allocations: 0 / 0.9343 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2369, allocations: 0 / 0.9343 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.2389, allocations: 1.494 MB / 0.9358 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2389, allocations: 3.938 kB / 0.9358 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.2393, allocations: 76.03 kB / 0.9359 GB, free: 26.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006214/0.2399, allocations: 198.4 kB / 0.9361 GB, free: 25.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.24, allocations: 12 kB / 0.9361 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/0.2433, allocations: 4.888 MB / 0.9408 GB, free: 20.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2433, allocations: 7.938 kB / 0.9408 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.2448, allocations: 1.139 MB / 0.942 GB, free: 19.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.245, allocations: 168.4 kB / 0.9421 GB, free: 19.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.245, allocations: 16 kB / 0.9421 GB, free: 19.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.2454, allocations: 19.97 kB / 0.9422 GB, free: 19.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.2454, allocations: 35.89 kB / 0.9422 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.2455, allocations: 16 kB / 0.9422 GB, free: 19.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002602/0.2457, allocations: 314.9 kB / 0.9425 GB, free: 18.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2458, allocations: 0 / 0.9425 GB, free: 18.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005952/0.2464, allocations: 168 kB / 0.9427 GB, free: 18.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/0.248, allocations: 1.688 MB / 0.9443 GB, free: 16.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.2493, allocations: 1.004 MB / 0.9453 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2493, allocations: 0 / 0.9453 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007707/0.2501, allocations: 0.6837 MB / 0.946 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.251, allocations: 172.3 kB / 0.9461 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.2571, allocations: 5.959 MB / 0.9519 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.2575, allocations: 0.9494 MB / 0.9529 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003584/0.2579, allocations: 109 kB / 0.953 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.2581, allocations: 211.4 kB / 0.9532 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2581, allocations: 0 / 0.9532 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.2819, allocations: 13.27 MB / 0.9661 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.2822, allocations: 238 kB / 0.9664 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/2.747, allocations: 3.938 kB / 0.9664 GB, free: 10.2 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)