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_R.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_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.642/1.642, allocations: 288.2 MB / 303.2 MB, free: 8.027 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.001162/0.001162, allocations: 185 kB / 371.8 MB, free: 10.28 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.408/1.408, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008172/0.0008169, allocations: 105.1 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 14 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2223, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005957/0.2284, allocations: 5.714 MB / 0.9851 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004258/0.2327, allocations: 2.894 MB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000793/0.2335, allocations: 19.88 kB / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.2341, allocations: 127.1 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.2356, allocations: 414.7 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2367, allocations: 324.4 kB / 0.9887 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.238, allocations: 0.735 MB / 0.9895 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.2397, allocations: 0.9209 MB / 0.9904 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006058/0.2403, allocations: 354.7 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.2409, allocations: 394.5 kB / 0.9911 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.2411, allocations: 32 kB / 0.9911 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.2416, allocations: 159.7 kB / 0.9913 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.2419, allocations: 243.3 kB / 0.9915 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.2421, allocations: 177.3 kB / 0.9917 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000853/0.243, allocations: 0.8613 MB / 0.9925 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.243, allocations: 0 / 0.9925 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.243, allocations: 0 / 0.9925 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.62e-05/0.243, allocations: 0 / 0.9925 GB, free: 14.19 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001848/0.2449, allocations: 1.001 MB / 0.9935 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2449, allocations: 16.02 kB / 0.9935 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000222/0.2452, allocations: 114.5 kB / 0.9936 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.2466, allocations: 226.6 kB / 0.9938 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009907/0.2476, allocations: 0.5288 MB / 0.9943 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.2476, allocations: 49.23 kB / 0.9944 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.2477, allocations: 67.98 kB / 0.9944 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.2491, allocations: 1.065 MB / 0.9955 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.2491, allocations: 11.84 kB / 0.9955 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/0.2492, allocations: 35.97 kB / 0.9955 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.2493, allocations: 89.25 kB / 0.9956 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.2504, allocations: 0.7426 MB / 0.9963 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.2547, allocations: 5.886 MB / 1.002 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000791/0.2555, allocations: 0.5631 MB / 1.003 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.2555, allocations: 8.422 kB / 1.003 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2556, allocations: 42.94 kB / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.956e-06/0.2556, allocations: 0 / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.003341/0.2589, allocations: 1.976 MB / 1.005 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.259, allocations: 59.83 kB / 1.005 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.2595, allocations: 0.5431 MB / 1.005 GB, free: 416 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.2596, allocations: 33.7 kB / 1.005 GB, free: 376 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.2598, allocations: 423.1 kB / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.26, allocations: 177.5 kB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.26, allocations: 15.94 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2602, allocations: 374.8 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.2607, allocations: 273.8 kB / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/0.2613, allocations: 497 kB / 1.007 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/0.262, allocations: 342 kB / 1.007 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.262, allocations: 4 kB / 1.007 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002156/0.2641, allocations: 1.079 MB / 1.008 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.2642, allocations: 8 kB / 1.008 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.2642, allocations: 8 kB / 1.008 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.2652, allocations: 275.3 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.2659, allocations: 127.7 kB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006555/0.2724, allocations: 6.709 MB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006373/0.2731, allocations: 31.97 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.2732, allocations: 32 kB / 1.015 GB, free: 5.367 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 (67): * Single equations (assignments): 63 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003615/0.2735, allocations: 259 kB / 1.016 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2736, allocations: 71.25 kB / 1.016 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.2752, allocations: 0.8846 MB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2753, allocations: 7.984 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2753, allocations: 4 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2753, allocations: 0 / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.2781, allocations: 1.713 MB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2781, allocations: 4 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.2783, allocations: 67.84 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007335/0.2791, allocations: 263.3 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.2791, allocations: 16 kB / 1.019 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/0.2853, allocations: 6.694 MB / 1.025 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.2853, allocations: 4.031 kB / 1.025 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.287, allocations: 1.048 MB / 1.026 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.2873, allocations: 188.2 kB / 1.026 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.2874, allocations: 12 kB / 1.026 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.2878, allocations: 31.92 kB / 1.026 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.2879, allocations: 43.88 kB / 1.026 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.2879, allocations: 20 kB / 1.026 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004357/0.2884, allocations: 379.1 kB / 1.027 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2884, allocations: 0 / 1.027 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008318/0.2892, allocations: 220 kB / 1.027 GB, free: 8.699 MB / 0.6511 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/0.2912, allocations: 2.026 MB / 1.029 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.2934, allocations: 1.279 MB / 1.03 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2934, allocations: 0 / 1.03 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.2947, allocations: 0.8893 MB / 1.031 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009627/0.2957, allocations: 192.7 kB / 1.031 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.3039, allocations: 8.884 MB / 1.04 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.3046, allocations: 1.028 MB / 1.041 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004934/0.3051, allocations: 126 kB / 1.041 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/0.3055, allocations: 251.4 kB / 1.041 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of SimCode: time 9.52e-07/0.3055, allocations: 0 / 1.041 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.3375, allocations: 16.2 MB / 1.057 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.3377, allocations: 224.4 kB / 1.057 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/2.792, allocations: 0 / 1.057 GB, free: 9.453 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)