Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001088/0.001088, allocations: 183.3 kB / 371.6 MB, free: 3.383 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.483/1.483, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.00103, allocations: 91.61 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.172e-05, allocations: 0 / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2581, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7993/1.057, allocations: 161 MB / 1.137 GB, free: 28.83 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.058, allocations: 95.02 kB / 1.137 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08309/1.141, allocations: 36.52 MB / 1.173 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/1.141, allocations: 0 / 1.173 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.031e-05/1.141, allocations: 23.98 kB / 1.173 GB, free: 6.363 MB / 0.7448 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.001454/1.142, allocations: 0.961 MB / 1.174 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.142, allocations: 12.03 kB / 1.174 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/1.143, allocations: 120.5 kB / 1.174 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/1.144, allocations: 240.4 kB / 1.174 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/1.145, allocations: 0.5335 MB / 1.175 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/1.145, allocations: 51.58 kB / 1.175 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/1.145, allocations: 69.3 kB / 1.175 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/1.146, allocations: 1.123 MB / 1.176 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/1.146, allocations: 7.938 kB / 1.176 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/1.146, allocations: 30.12 kB / 1.176 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/1.146, allocations: 56.16 kB / 1.176 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009938/1.147, allocations: 0.7245 MB / 1.177 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00475/1.152, allocations: 5.909 MB / 1.182 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.153, allocations: 0.5567 MB / 1.183 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/1.154, allocations: 323.2 kB / 1.183 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/1.154, allocations: 8.422 kB / 1.183 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.154, allocations: 46.12 kB / 1.183 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 3.467e-06/1.154, allocations: 0 / 1.183 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.002437/1.156, allocations: 1.219 MB / 1.185 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/1.156, allocations: 55.84 kB / 1.185 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005742/1.157, allocations: 492.1 kB / 1.185 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/1.157, allocations: 37.56 kB / 1.185 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000263/1.157, allocations: 404.3 kB / 1.186 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/1.157, allocations: 167.8 kB / 1.186 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/1.157, allocations: 18.94 kB / 1.186 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.158, allocations: 372.5 kB / 1.186 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/1.158, allocations: 261 kB / 1.186 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/1.159, allocations: 454.7 kB / 1.187 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/1.159, allocations: 336.8 kB / 1.187 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.159, allocations: 4 kB / 1.187 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001671/1.161, allocations: 1.046 MB / 1.188 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.161, allocations: 4 kB / 1.188 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.161, allocations: 8 kB / 1.188 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000801/1.162, allocations: 273.1 kB / 1.188 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/1.162, allocations: 119.7 kB / 1.188 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005864/1.168, allocations: 6.587 MB / 1.195 GB, free: 1.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/1.169, allocations: 33.22 kB / 1.195 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/1.169, allocations: 35.95 kB / 1.195 GB, free: 1.812 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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.000155/1.169, allocations: 140.8 kB / 1.195 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/1.169, allocations: 71.16 kB / 1.195 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/1.17, allocations: 0.8818 MB / 1.196 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.85e-06/1.17, allocations: 4 kB / 1.196 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.17, allocations: 4.188 kB / 1.196 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.17, allocations: 7.984 kB / 1.196 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/1.173, allocations: 1.705 MB / 1.198 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.173, allocations: 4 kB / 1.198 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/1.173, allocations: 59.83 kB / 1.198 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007029/1.174, allocations: 273.4 kB / 1.198 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/1.174, allocations: 7.188 kB / 1.198 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005823/1.18, allocations: 6.573 MB / 1.204 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.18, allocations: 4.031 kB / 1.204 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/1.181, allocations: 1.042 MB / 1.205 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/1.182, allocations: 188.8 kB / 1.206 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/1.182, allocations: 11 kB / 1.206 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/1.182, allocations: 30.58 kB / 1.206 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/1.182, allocations: 46.53 kB / 1.206 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/1.182, allocations: 15.75 kB / 1.206 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004426/1.183, allocations: 376.3 kB / 1.206 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.1e-07/1.183, allocations: 0 / 1.206 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008454/1.184, allocations: 230 kB / 1.206 GB, free: 7.211 MB / 0.7761 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 () * 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%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00196/1.186, allocations: 2.028 MB / 1.208 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001874/1.188, allocations: 1.237 MB / 1.21 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.188, allocations: 0 / 1.21 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.189, allocations: 0.8791 MB / 1.21 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008819/1.19, allocations: 204.9 kB / 1.211 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/1.192, allocations: 1.132 MB / 1.212 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/1.192, allocations: 1.026 MB / 1.213 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004239/1.193, allocations: 128 kB / 1.213 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/1.193, allocations: 247.9 kB / 1.213 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/1.193, allocations: 0 / 1.213 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/1.227, allocations: 16.22 MB / 1.229 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.227, allocations: 182.7 kB / 1.229 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.728, allocations: 0 / 1.229 GB, free: 0.8477 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)