Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.698/2.698, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001312/0.001312, allocations: 170.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001402/0.001402, allocations: 107.7 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000673/0.0006733, allocations: 15.34 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2158, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007017/0.2229, allocations: 4.813 MB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00534/0.2283, allocations: 2.492 MB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/0.229, allocations: 19.81 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.2295, allocations: 103.1 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.2308, allocations: 338.2 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.2321, allocations: 286 kB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.2337, allocations: 1.037 MB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.2355, allocations: 0.7477 MB / 0.9881 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006846/0.2362, allocations: 306.7 kB / 0.9883 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006396/0.2368, allocations: 374.6 kB / 0.9887 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.891e-05/0.2369, allocations: 28 kB / 0.9887 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006956/0.2377, allocations: 183.8 kB / 0.9889 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.2379, allocations: 219.3 kB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.2381, allocations: 145.3 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009015/0.239, allocations: 0.721 MB / 0.99 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.239, allocations: 8 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2391, allocations: 0 / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.2391, allocations: 0 / 0.99 GB, free: 16.41 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.001856/0.2409, allocations: 0.8511 MB / 0.9908 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.241, allocations: 12.02 kB / 0.9908 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.2412, allocations: 98.52 kB / 0.9909 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.2431, allocations: 195 kB / 0.9911 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009252/0.2441, allocations: 473.5 kB / 0.9915 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.2441, allocations: 33 kB / 0.9916 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.2444, allocations: 55.98 kB / 0.9916 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.2459, allocations: 0.829 MB / 0.9924 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.246, allocations: 15.83 kB / 0.9924 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.2461, allocations: 16 kB / 0.9925 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003166/0.2464, allocations: 76.88 kB / 0.9925 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.2477, allocations: 0.5658 MB / 0.9931 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0059/0.2537, allocations: 4.585 MB / 0.9976 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.2544, allocations: 303.1 kB / 0.9979 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.2549, allocations: 221.3 kB / 0.9981 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.255, allocations: 4.281 kB / 0.9981 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.255, allocations: 38.84 kB / 0.9981 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 4.068e-06/0.255, allocations: 0 / 0.9981 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.008732/0.2638, allocations: 2.63 MB / 1.001 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.2639, allocations: 55.41 kB / 1.001 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.2645, allocations: 454 kB / 1.001 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.129e-05/0.2646, allocations: 29.7 kB / 1.001 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.2648, allocations: 335.7 kB / 1.002 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.265, allocations: 145.9 kB / 1.002 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.265, allocations: 12 kB / 1.002 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2652, allocations: 370.8 kB / 1.002 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/0.2657, allocations: 229 kB / 1.002 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.2663, allocations: 410.4 kB / 1.003 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.267, allocations: 297.7 kB / 1.003 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.267, allocations: 0 / 1.003 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002527/0.2696, allocations: 0.9139 MB / 1.004 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.2696, allocations: 8 kB / 1.004 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2696, allocations: 8.031 kB / 1.004 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.2709, allocations: 222.4 kB / 1.004 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009568/0.2719, allocations: 115.8 kB / 1.004 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007781/0.2797, allocations: 4.939 MB / 1.009 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008393/0.2806, allocations: 35.91 kB / 1.009 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/0.2807, allocations: 24 kB / 1.009 GB, free: 11.68 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.0004836/0.2812, allocations: 225.7 kB / 1.009 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.2813, allocations: 55.34 kB / 1.009 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.2839, allocations: 0.7703 MB / 1.01 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.2839, allocations: 7.984 kB / 1.01 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.284, allocations: 4 kB / 1.01 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.284, allocations: 0 / 1.01 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/0.2883, allocations: 1.506 MB / 1.012 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.2883, allocations: 0 / 1.012 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/0.2891, allocations: 67.88 kB / 1.012 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.2903, allocations: 206.6 kB / 1.012 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.2904, allocations: 8 kB / 1.012 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007843/0.2983, allocations: 4.872 MB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.2983, allocations: 0 / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.3016, allocations: 1.135 MB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.302, allocations: 168.4 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3021, allocations: 11.98 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.3027, allocations: 27.91 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.3029, allocations: 47.91 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.3029, allocations: 12 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005346/0.3035, allocations: 306.9 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/0.3035, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009555/0.3045, allocations: 164 kB / 1.018 GB, free: 1.52 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.003488/0.308, allocations: 1.677 MB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002715/0.3107, allocations: 1.008 MB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.3108, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.3124, allocations: 0.6759 MB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.314, allocations: 175.3 kB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009652/0.3236, allocations: 3.819 MB / 1.026 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009022/0.3246, allocations: 0.9455 MB / 1.026 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007384/0.3254, allocations: 117 kB / 1.027 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.3259, allocations: 207.4 kB / 1.027 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of SimCode: time 3.707e-06/0.3259, allocations: 0 / 1.027 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.3748, allocations: 13.22 MB / 1.04 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/0.3752, allocations: 213.8 kB / 1.04 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/3.426, allocations: 0 / 1.04 GB, free: 11.42 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)