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.754/1.754, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.0009837/0.0009837, allocations: 194.4 kB / 377.1 MB, free: 1.492 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.406/1.406, allocations: 205.4 MB / 0.6366 GB, free: 8.496 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.000858/0.000858, allocations: 93.11 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005311/0.0005311, allocations: 11.98 kB / 0.8749 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3096, allocations: 116.3 MB / 0.9884 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8017/1.111, allocations: 161 MB / 1.146 GB, free: 18.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.112, allocations: 96.55 kB / 1.146 GB, free: 18.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08561/1.197, allocations: 36.76 MB / 1.182 GB, free: 304 kB / 0.7448 GB Notification: Performance of FrontEnd: time 3.536e-06/1.197, allocations: 3.938 kB / 1.182 GB, free: 300 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.596e-05/1.198, allocations: 24 kB / 1.182 GB, free: 276 kB / 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.002888/1.2, allocations: 1.034 MB / 1.183 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.2, allocations: 15.95 kB / 1.183 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004173/1.201, allocations: 122.5 kB / 1.183 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/1.203, allocations: 244.7 kB / 1.183 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/1.204, allocations: 0.5354 MB / 1.184 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/1.204, allocations: 53.98 kB / 1.184 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/1.204, allocations: 67.44 kB / 1.184 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/1.206, allocations: 1.131 MB / 1.185 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/1.206, allocations: 7.938 kB / 1.185 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.59e-05/1.206, allocations: 33.81 kB / 1.185 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/1.206, allocations: 53.3 kB / 1.185 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/1.208, allocations: 0.7465 MB / 1.186 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006481/1.214, allocations: 5.908 MB / 1.191 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.215, allocations: 0.5531 MB / 1.192 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/1.215, allocations: 4.438 kB / 1.192 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.215, allocations: 35 kB / 1.192 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 2.746e-06/1.215, allocations: 7.938 kB / 1.192 GB, free: 5.039 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.004002/1.219, allocations: 1.98 MB / 1.194 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/1.219, allocations: 59.84 kB / 1.194 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/1.22, allocations: 495.2 kB / 1.194 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/1.22, allocations: 33.7 kB / 1.195 GB, free: 2.363 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/1.22, allocations: 407.1 kB / 1.195 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/1.22, allocations: 177.5 kB / 1.195 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/1.221, allocations: 8 kB / 1.195 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.221, allocations: 374.8 kB / 1.195 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/1.221, allocations: 269.2 kB / 1.196 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/1.222, allocations: 458.8 kB / 1.196 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/1.222, allocations: 342.1 kB / 1.196 GB, free: 284 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.222, allocations: 0 / 1.196 GB, free: 284 kB / 0.7605 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00193/1.224, allocations: 1.055 MB / 1.197 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/1.224, allocations: 8 kB / 1.197 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.224, allocations: 8 kB / 1.198 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008734/1.225, allocations: 277.5 kB / 1.198 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/1.226, allocations: 127.7 kB / 1.198 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006631/1.232, allocations: 6.701 MB / 1.204 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/1.233, allocations: 35.97 kB / 1.204 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/1.233, allocations: 27.98 kB / 1.204 GB, free: 7.488 MB / 0.7761 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 () * Number of clocked 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.0004574/1.233, allocations: 249.5 kB / 1.205 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/1.234, allocations: 71.25 kB / 1.205 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/1.235, allocations: 0.8885 MB / 1.206 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.235, allocations: 4 kB / 1.206 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.235, allocations: 4 kB / 1.206 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.235, allocations: 0 / 1.206 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/1.238, allocations: 1.72 MB / 1.207 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.238, allocations: 0 / 1.207 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/1.238, allocations: 63.89 kB / 1.207 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007428/1.239, allocations: 271.3 kB / 1.208 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/1.239, allocations: 12 kB / 1.208 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/1.245, allocations: 6.686 MB / 1.214 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.245, allocations: 0 / 1.214 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/1.247, allocations: 1.056 MB / 1.215 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/1.247, allocations: 196.2 kB / 1.215 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/1.248, allocations: 8 kB / 1.215 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/1.248, allocations: 31.97 kB / 1.215 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.248, allocations: 48.58 kB / 1.216 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/1.248, allocations: 16 kB / 1.216 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004864/1.249, allocations: 379.1 kB / 1.216 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/1.249, allocations: 0 / 1.216 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008842/1.249, allocations: 232 kB / 1.216 GB, free: 10.84 MB / 0.7917 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%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/1.251, allocations: 2.028 MB / 1.218 GB, free: 8.73 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001948/1.253, allocations: 1.253 MB / 1.219 GB, free: 7.434 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.253, allocations: 0 / 1.219 GB, free: 7.434 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/1.255, allocations: 0.897 MB / 1.22 GB, free: 6.484 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008619/1.256, allocations: 193.8 kB / 1.22 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/1.263, allocations: 8.266 MB / 1.228 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/1.264, allocations: 1.024 MB / 1.229 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004563/1.264, allocations: 123.9 kB / 1.23 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/1.264, allocations: 251.3 kB / 1.23 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/1.264, allocations: 0 / 1.23 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/1.301, allocations: 16.25 MB / 1.246 GB, free: 12.41 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/1.301, allocations: 213.3 kB / 1.246 GB, free: 12.16 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.854, allocations: 0 / 1.246 GB, free: 12.16 MB / 0.823 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)