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_L.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_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.361/1.361, 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.001136/0.001136, allocations: 187 kB / 326.5 MB, free: 2.25 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.8/1.8, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0009167/0.0009164, allocations: 102.2 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004679, allocations: 14.38 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2373, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004639/0.242, allocations: 5.227 MB / 0.9053 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.2453, allocations: 2.995 MB / 0.9082 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.2456, allocations: 27.81 kB / 0.9082 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.2459, allocations: 111.2 kB / 0.9083 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006174/0.2465, allocations: 346.9 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.2472, allocations: 353.4 kB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.2477, allocations: 0.6454 MB / 0.9096 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.2489, allocations: 0.9137 MB / 0.9105 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.2492, allocations: 322.8 kB / 0.9108 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.2496, allocations: 342.7 kB / 0.9111 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.2497, allocations: 35.98 kB / 0.9112 GB, free: 53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.25, allocations: 203.6 kB / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.2502, allocations: 239.3 kB / 0.9116 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.806e-05/0.2503, allocations: 161.3 kB / 0.9118 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005795/0.2509, allocations: 0.834 MB / 0.9126 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2509, allocations: 0 / 0.9126 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2509, allocations: 0 / 0.9126 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.2509, allocations: 0 / 0.9126 GB, free: 51.57 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001119/0.252, allocations: 0.8998 MB / 0.9134 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2521, allocations: 12.03 kB / 0.9135 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.2522, allocations: 118.5 kB / 0.9136 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.2533, allocations: 206.7 kB / 0.9138 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006638/0.254, allocations: 0.5132 MB / 0.9143 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.2541, allocations: 49.3 kB / 0.9143 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.2541, allocations: 63.91 kB / 0.9144 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.2552, allocations: 1.022 MB / 0.9154 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.2552, allocations: 11.94 kB / 0.9154 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.2553, allocations: 27.98 kB / 0.9154 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.2554, allocations: 73.27 kB / 0.9155 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.2562, allocations: 0.6917 MB / 0.9162 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.2596, allocations: 5.757 MB / 0.9218 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.2602, allocations: 0.5904 MB / 0.9224 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.2603, allocations: 4 kB / 0.9224 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.2603, allocations: 38.55 kB / 0.9224 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 1.704e-06/0.2603, allocations: 0 / 0.9224 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003226/0.2635, allocations: 1.901 MB / 0.9243 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.2636, allocations: 55.41 kB / 0.9243 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.2639, allocations: 450.7 kB / 0.9247 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.264, allocations: 37.7 kB / 0.9248 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.2641, allocations: 387 kB / 0.9251 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.2642, allocations: 149.8 kB / 0.9253 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.2642, allocations: 12 kB / 0.9253 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.2643, allocations: 362.8 kB / 0.9256 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.2646, allocations: 229.2 kB / 0.9259 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.2649, allocations: 445 kB / 0.9263 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.2652, allocations: 299.8 kB / 0.9266 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2653, allocations: 0 / 0.9266 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001336/0.2666, allocations: 0.9834 MB / 0.9275 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2666, allocations: 8 kB / 0.9275 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2666, allocations: 8 kB / 0.9275 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007607/0.2674, allocations: 267.9 kB / 0.9278 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.2677, allocations: 103.8 kB / 0.9279 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/0.2723, allocations: 6.743 MB / 0.9345 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.2729, allocations: 27.97 kB / 0.9345 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.2729, allocations: 28 kB / 0.9345 GB, free: 27.57 MB / 0.6042 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003726/0.2733, allocations: 242 kB / 0.9348 GB, free: 27.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.2734, allocations: 67.2 kB / 0.9348 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.2748, allocations: 0.8343 MB / 0.9357 GB, free: 26.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2748, allocations: 7.984 kB / 0.9357 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2748, allocations: 8 kB / 0.9357 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2748, allocations: 3.984 kB / 0.9357 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.2771, allocations: 1.707 MB / 0.9373 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2771, allocations: 0 / 0.9373 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.2773, allocations: 48.16 kB / 0.9374 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/0.278, allocations: 251.1 kB / 0.9376 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.2781, allocations: 12 kB / 0.9376 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/0.2822, allocations: 6.448 MB / 0.9439 GB, free: 17.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2823, allocations: 4.031 kB / 0.9439 GB, free: 17.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.2835, allocations: 0.9743 MB / 0.9449 GB, free: 16.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.2837, allocations: 172.6 kB / 0.9451 GB, free: 16.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/0.2838, allocations: 8 kB / 0.9451 GB, free: 16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.2841, allocations: 23.97 kB / 0.9451 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.2842, allocations: 55.78 kB / 0.9451 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.2842, allocations: 12 kB / 0.9451 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002844/0.2845, allocations: 302.9 kB / 0.9454 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2845, allocations: 0 / 0.9454 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000764/0.2853, allocations: 184 kB / 0.9456 GB, free: 15.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/0.2868, allocations: 1.945 MB / 0.9475 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.2882, allocations: 1.145 MB / 0.9486 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2882, allocations: 0 / 0.9486 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007782/0.289, allocations: 0.7957 MB / 0.9494 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.2897, allocations: 180.7 kB / 0.9496 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.2946, allocations: 8.388 MB / 0.9578 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.295, allocations: 1.008 MB / 0.9588 GB, free: 1.566 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000301/0.2953, allocations: 101.2 kB / 0.9588 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.2955, allocations: 219.4 kB / 0.9591 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/0.2955, allocations: 0 / 0.9591 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.323, allocations: 13.9 MB / 0.9726 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.3232, allocations: 211 kB / 0.9728 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.509, allocations: 0 / 0.9728 GB, free: 3.367 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)