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.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001218/0.001219, allocations: 169.8 kB / 326.5 MB, free: 2.254 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.689/1.689, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008709/0.0008709, allocations: 100.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002943, allocations: 15.02 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2065, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004212/0.2108, allocations: 4.634 MB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003801/0.2146, allocations: 2.492 MB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.2151, allocations: 19.88 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.2154, allocations: 99.3 kB / 0.9072 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007935/0.2162, allocations: 315 kB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.217, allocations: 295.3 kB / 0.9078 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007093/0.2177, allocations: 0.5785 MB / 0.9084 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.2188, allocations: 0.7428 MB / 0.9091 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/0.2192, allocations: 283 kB / 0.9094 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.2196, allocations: 298.8 kB / 0.9097 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.2197, allocations: 24 kB / 0.9097 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.22, allocations: 159.8 kB / 0.9098 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.2201, allocations: 199.4 kB / 0.91 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.231e-05/0.2202, allocations: 141.4 kB / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.2207, allocations: 0.6937 MB / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2208, allocations: 0 / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2208, allocations: 0 / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2208, allocations: 0 / 0.9108 GB, free: 52.84 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.001235/0.222, allocations: 0.8451 MB / 0.9117 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2221, allocations: 8.031 kB / 0.9117 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.541e-05/0.2222, allocations: 94.52 kB / 0.9118 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.2233, allocations: 187 kB / 0.9119 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.2239, allocations: 469.5 kB / 0.9124 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2239, allocations: 40.98 kB / 0.9124 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2241, allocations: 55.91 kB / 0.9125 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/0.225, allocations: 0.8199 MB / 0.9133 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.225, allocations: 7.938 kB / 0.9133 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.225, allocations: 23.98 kB / 0.9133 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/0.2253, allocations: 68.94 kB / 0.9134 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.226, allocations: 0.5696 MB / 0.9139 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.2294, allocations: 4.597 MB / 0.9184 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.2298, allocations: 291.3 kB / 0.9187 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.2298, allocations: 288 / 0.9187 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2299, allocations: 42.78 kB / 0.9187 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.2299, allocations: 4 kB / 0.9187 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004753/0.2346, allocations: 2.633 MB / 0.9213 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2347, allocations: 59.34 kB / 0.9214 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.2351, allocations: 446 kB / 0.9218 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.2351, allocations: 37.7 kB / 0.9218 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.2353, allocations: 339.6 kB / 0.9221 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.2354, allocations: 141.9 kB / 0.9223 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.2354, allocations: 16 kB / 0.9223 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.2355, allocations: 362.8 kB / 0.9226 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.2358, allocations: 233 kB / 0.9229 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.2361, allocations: 404.5 kB / 0.9233 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.2365, allocations: 297.4 kB / 0.9235 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2365, allocations: 4 kB / 0.9235 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001388/0.2379, allocations: 0.9142 MB / 0.9244 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2379, allocations: 6.812 kB / 0.9244 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2379, allocations: 8 kB / 0.9244 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006856/0.2386, allocations: 226.5 kB / 0.9247 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.2391, allocations: 115.8 kB / 0.9248 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.2427, allocations: 5.013 MB / 0.9297 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.2433, allocations: 31.97 kB / 0.9297 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.2433, allocations: 24.06 kB / 0.9297 GB, free: 32.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.2436, allocations: 221.6 kB / 0.9299 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.2437, allocations: 59.34 kB / 0.93 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.245, allocations: 0.7772 MB / 0.9308 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.245, allocations: 4.281 kB / 0.9308 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.245, allocations: 0 / 0.9308 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.245, allocations: 7.984 kB / 0.9308 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.247, allocations: 1.493 MB / 0.9322 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.247, allocations: 7.984 kB / 0.9322 GB, free: 29.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.2474, allocations: 67.89 kB / 0.9323 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005828/0.248, allocations: 206.6 kB / 0.9325 GB, free: 29.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.248, allocations: 8 kB / 0.9325 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/0.2514, allocations: 4.954 MB / 0.9373 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2514, allocations: 384 / 0.9373 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.2529, allocations: 1.213 MB / 0.9385 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.2531, allocations: 168.4 kB / 0.9387 GB, free: 22.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.2532, allocations: 8 kB / 0.9387 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.2535, allocations: 39.91 kB / 0.9387 GB, free: 22.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.2536, allocations: 39.91 kB / 0.9388 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.2536, allocations: 15.98 kB / 0.9388 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002632/0.2539, allocations: 302.9 kB / 0.9391 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.52e-07/0.2539, allocations: 0 / 0.9391 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006124/0.2545, allocations: 175.9 kB / 0.9392 GB, free: 21.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001628/0.2562, allocations: 2.24 MB / 0.9414 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.2575, allocations: 0.9931 MB / 0.9424 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2575, allocations: 4.125 kB / 0.9424 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007525/0.2583, allocations: 0.6875 MB / 0.9431 GB, free: 17.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.259, allocations: 154.3 kB / 0.9432 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.2641, allocations: 7.279 MB / 0.9503 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.2645, allocations: 0.9572 MB / 0.9513 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004171/0.2649, allocations: 113 kB / 0.9514 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.2652, allocations: 207.4 kB / 0.9516 GB, free: 8.895 MB / 0.6042 GB Notification: Performance of SimCode: time 1.603e-06/0.2652, allocations: 0 / 0.9516 GB, free: 8.895 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.2903, allocations: 13.19 MB / 0.9644 GB, free: 12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.2906, allocations: 226.2 kB / 0.9647 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.462, allocations: 0 / 0.9647 GB, free: 11.75 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)