Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 189.3 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 114.1 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.00108, allocations: 52.98 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2856, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006962/0.2926, allocations: 6.704 MB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003761/0.2964, allocations: 3.06 MB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.2968, allocations: 19.88 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.2986, allocations: 0.8944 MB / 1.229 GB, free: 106.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007694/0.2994, allocations: 477.7 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.3001, allocations: 382.8 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0009187/0.301, allocations: 1.603 MB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006851/0.3017, allocations: 0.6424 MB / 1.232 GB, free: 103.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.302, allocations: 426.3 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.3025, allocations: 0.5254 MB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.428e-05/0.3026, allocations: 51.98 kB / 1.233 GB, free: 102.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.3031, allocations: 451.1 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.3033, allocations: 287.1 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.3036, allocations: 429.7 kB / 1.234 GB, free: 101.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007506/0.3044, allocations: 1.211 MB / 1.235 GB, free: 100 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3044, allocations: 4 kB / 1.235 GB, free: 100 MB / 0.823 GB Notification: Performance of FrontEnd: time 6.91e-07/0.3044, allocations: 0 / 1.235 GB, free: 100 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3044, allocations: 0 / 1.235 GB, free: 100 MB / 0.823 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.001522/0.3059, allocations: 1.153 MB / 1.236 GB, free: 98.81 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.306, allocations: 19.86 kB / 1.236 GB, free: 98.79 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.3073, allocations: 235.6 kB / 1.236 GB, free: 98.56 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.308, allocations: 0.5491 MB / 1.237 GB, free: 97.98 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.308, allocations: 53.67 kB / 1.237 GB, free: 97.92 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/0.3081, allocations: 60.38 kB / 1.237 GB, free: 97.86 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3092, allocations: 1.089 MB / 1.238 GB, free: 96.66 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3092, allocations: 7.938 kB / 1.238 GB, free: 96.66 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.3093, allocations: 24 kB / 1.238 GB, free: 96.63 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.3094, allocations: 85.25 kB / 1.238 GB, free: 96.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.3102, allocations: 0.7543 MB / 1.239 GB, free: 95.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.314, allocations: 5.893 MB / 1.244 GB, free: 89.47 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/0.3148, allocations: 0.5514 MB / 1.245 GB, free: 88.91 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.3152, allocations: 330 kB / 1.245 GB, free: 88.59 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.3152, allocations: 4.438 kB / 1.245 GB, free: 88.58 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.3152, allocations: 39 kB / 1.245 GB, free: 88.54 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 1.994e-06/0.3152, allocations: 0 / 1.245 GB, free: 88.54 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.003084/0.3183, allocations: 1.986 MB / 1.247 GB, free: 86.45 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.3184, allocations: 55.84 kB / 1.247 GB, free: 86.39 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.3188, allocations: 0.5585 MB / 1.248 GB, free: 85.82 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3188, allocations: 37.64 kB / 1.248 GB, free: 85.77 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.319, allocations: 418.9 kB / 1.248 GB, free: 85.36 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.3191, allocations: 173.6 kB / 1.249 GB, free: 85.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3193, allocations: 126.5 kB / 1.249 GB, free: 85.05 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.3194, allocations: 374.7 kB / 1.249 GB, free: 84.68 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.3197, allocations: 273.8 kB / 1.249 GB, free: 84.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.3201, allocations: 0.4931 MB / 1.25 GB, free: 83.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007375/0.3208, allocations: 0.8093 MB / 1.251 GB, free: 82.92 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3208, allocations: 8 kB / 1.251 GB, free: 82.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001406/0.3222, allocations: 1.079 MB / 1.252 GB, free: 81.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3223, allocations: 8 kB / 1.252 GB, free: 81.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3223, allocations: 8.062 kB / 1.252 GB, free: 81.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.323, allocations: 275.2 kB / 1.252 GB, free: 81.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.3234, allocations: 127.7 kB / 1.252 GB, free: 81.39 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004221/0.3277, allocations: 6.603 MB / 1.258 GB, free: 74.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.3282, allocations: 35.97 kB / 1.258 GB, free: 74.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.3282, allocations: 28 kB / 1.259 GB, free: 74.19 MB / 0.823 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000255/0.3285, allocations: 259.1 kB / 1.259 GB, free: 73.93 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.3286, allocations: 75.25 kB / 1.259 GB, free: 73.85 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.3298, allocations: 0.8846 MB / 1.26 GB, free: 72.95 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3298, allocations: 4 kB / 1.26 GB, free: 72.94 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3299, allocations: 4 kB / 1.26 GB, free: 72.94 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3299, allocations: 4 kB / 1.26 GB, free: 72.93 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.3319, allocations: 1.724 MB / 1.261 GB, free: 71.12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3319, allocations: 7.938 kB / 1.261 GB, free: 71.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.3322, allocations: 63.89 kB / 1.261 GB, free: 71.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006168/0.3328, allocations: 259.4 kB / 1.262 GB, free: 70.79 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.3328, allocations: 12 kB / 1.262 GB, free: 70.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/0.3369, allocations: 6.595 MB / 1.268 GB, free: 63.64 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3369, allocations: 4.031 kB / 1.268 GB, free: 63.64 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.3386, allocations: 1.998 MB / 1.27 GB, free: 61.55 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.3388, allocations: 188.5 kB / 1.27 GB, free: 61.35 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.3389, allocations: 12 kB / 1.27 GB, free: 61.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.3393, allocations: 31.97 kB / 1.27 GB, free: 61.31 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.3394, allocations: 43.94 kB / 1.27 GB, free: 61.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.3394, allocations: 19.88 kB / 1.27 GB, free: 61.25 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003004/0.3397, allocations: 387.1 kB / 1.271 GB, free: 60.87 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3397, allocations: 0 / 1.271 GB, free: 60.87 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007876/0.3405, allocations: 224 kB / 1.271 GB, free: 60.65 MB / 0.823 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001388/0.3406, allocations: 112 kB / 1.271 GB, free: 60.54 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.3422, allocations: 1.264 MB / 1.272 GB, free: 59.23 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3422, allocations: 3.938 kB / 1.272 GB, free: 59.22 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009688/0.3432, allocations: 0.8932 MB / 1.273 GB, free: 58.28 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/0.3441, allocations: 206.4 kB / 1.273 GB, free: 58.08 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.3461, allocations: 1.927 MB / 1.275 GB, free: 56.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.3465, allocations: 1.024 MB / 1.276 GB, free: 55.04 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003587/0.3468, allocations: 118 kB / 1.276 GB, free: 54.93 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.885e-05/0.3469, allocations: 39.44 kB / 1.276 GB, free: 54.89 MB / 0.823 GB Notification: Performance of SimCode: time 5.81e-07/0.347, allocations: 7.938 kB / 1.276 GB, free: 54.88 MB / 0.823 GB Notification: Performance of Templates: time 0.01447/0.3614, allocations: 11.14 MB / 1.287 GB, free: 43.86 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)