Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.618/1.618, allocations: 288.4 MB / 303.3 MB, free: 7.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000952/0.0009521, allocations: 187 kB / 372 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007688/0.0007688, allocations: 89.23 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 15.72 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2484, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004996/0.2535, allocations: 4.805 MB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003755/0.2573, allocations: 2.496 MB / 0.9868 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00062/0.2579, allocations: 15.88 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.2583, allocations: 99.14 kB / 0.9869 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009046/0.2592, allocations: 334.2 kB / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000783/0.26, allocations: 289.9 kB / 0.9875 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007676/0.2608, allocations: 1.041 MB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009925/0.2618, allocations: 0.7515 MB / 0.9892 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.2621, allocations: 310.6 kB / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.2625, allocations: 378.5 kB / 0.9899 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.2625, allocations: 28 kB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.2629, allocations: 179.8 kB / 0.9901 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.2631, allocations: 219.3 kB / 0.9903 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.229e-05/0.2632, allocations: 141.4 kB / 0.9904 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.2637, allocations: 0.7287 MB / 0.9911 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2637, allocations: 4 kB / 0.9912 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2638, allocations: 0 / 0.9912 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.2638, allocations: 0 / 0.9912 GB, free: 15.7 MB / 0.6198 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.00121/0.265, allocations: 0.845 MB / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.265, allocations: 12.02 kB / 0.992 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.535e-05/0.2651, allocations: 102.5 kB / 0.9921 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.2663, allocations: 191 kB / 0.9923 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.2669, allocations: 473.5 kB / 0.9927 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.267, allocations: 40.94 kB / 0.9928 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.2671, allocations: 55.98 kB / 0.9928 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009106/0.268, allocations: 0.8239 MB / 0.9936 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.268, allocations: 11.86 kB / 0.9936 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.2681, allocations: 16 kB / 0.9936 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/0.2683, allocations: 72.94 kB / 0.9937 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.269, allocations: 0.5696 MB / 0.9943 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.2723, allocations: 4.589 MB / 0.9988 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.2727, allocations: 295.3 kB / 0.999 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.2729, allocations: 221.3 kB / 0.9992 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.273, allocations: 4.281 kB / 0.9992 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.273, allocations: 42.78 kB / 0.9993 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.273, allocations: 0 / 0.9993 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004762/0.2778, allocations: 2.63 MB / 1.002 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.2778, allocations: 55.41 kB / 1.002 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.2782, allocations: 450 kB / 1.002 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.2782, allocations: 33.7 kB / 1.002 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.2784, allocations: 335.7 kB / 1.003 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.2785, allocations: 145.9 kB / 1.003 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.2785, allocations: 12 kB / 1.003 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.2786, allocations: 370.8 kB / 1.003 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.2789, allocations: 229 kB / 1.003 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.2792, allocations: 406.4 kB / 1.004 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.2796, allocations: 297.5 kB / 1.004 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2796, allocations: 0 / 1.004 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001409/0.281, allocations: 0.9216 MB / 1.005 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2811, allocations: 16.06 kB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2811, allocations: 4 kB / 1.005 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006999/0.2818, allocations: 226.4 kB / 1.005 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.2823, allocations: 119.8 kB / 1.005 GB, free: 348 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.2871, allocations: 4.927 MB / 1.01 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.2876, allocations: 35.97 kB / 1.01 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.2876, allocations: 27.98 kB / 1.01 GB, free: 10.95 MB / 0.6355 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.000329/0.288, allocations: 225.7 kB / 1.01 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-05/0.2881, allocations: 55.34 kB / 1.01 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.2896, allocations: 0.7742 MB / 1.011 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2897, allocations: 4 kB / 1.011 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2897, allocations: 4 kB / 1.011 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2897, allocations: 0 / 1.011 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.2922, allocations: 1.499 MB / 1.013 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2922, allocations: 0 / 1.013 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.2926, allocations: 63.94 kB / 1.013 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006697/0.2933, allocations: 206.5 kB / 1.013 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.2933, allocations: 12 kB / 1.013 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004632/0.298, allocations: 4.868 MB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.298, allocations: 3.938 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.2999, allocations: 1.139 MB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.3001, allocations: 164.4 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.3002, allocations: 19.98 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.3006, allocations: 19.97 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.3007, allocations: 43.91 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.3007, allocations: 16 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003488/0.3011, allocations: 306.9 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3011, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006809/0.3018, allocations: 164 kB / 1.02 GB, free: 0.8008 MB / 0.6355 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.002099/0.3039, allocations: 1.673 MB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.3057, allocations: 1.004 MB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3057, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009274/0.3066, allocations: 0.6876 MB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000885/0.3075, allocations: 179.6 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.3135, allocations: 3.819 MB / 1.027 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.3141, allocations: 0.9455 MB / 1.028 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004109/0.3145, allocations: 117 kB / 1.028 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.3148, allocations: 207.4 kB / 1.028 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/0.3148, allocations: 0 / 1.028 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.3441, allocations: 13.22 MB / 1.041 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.3444, allocations: 223 kB / 1.041 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/2.795, allocations: 4 kB / 1.041 GB, free: 10.7 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)