Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001291/0.001291, allocations: 185 kB / 377.1 MB, free: 1.535 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.533/1.533, allocations: 205.4 MB / 0.6366 GB, free: 8.656 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.0008917/0.0008919, allocations: 85.27 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004344, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2997, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8305/1.13, allocations: 182.3 MB / 1.166 GB, free: 196 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/1.131, allocations: 96.44 kB / 1.167 GB, free: 100 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07725/1.208, allocations: 31.42 MB / 1.197 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.364e-06/1.208, allocations: 0 / 1.197 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.443e-05/1.208, allocations: 16 kB / 1.197 GB, free: 500 kB / 0.7605 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.001681/1.21, allocations: 0.8816 MB / 1.198 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 7.045e-05/1.21, allocations: 16.02 kB / 1.198 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/1.21, allocations: 94.52 kB / 1.198 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/1.211, allocations: 209 kB / 1.198 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/1.212, allocations: 497.4 kB / 1.199 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/1.212, allocations: 37 kB / 1.199 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/1.213, allocations: 59.36 kB / 1.199 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/1.214, allocations: 0.871 MB / 1.2 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/1.214, allocations: 7.938 kB / 1.2 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/1.214, allocations: 24 kB / 1.2 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.637e-05/1.214, allocations: 44.97 kB / 1.2 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008919/1.215, allocations: 0.5658 MB / 1.2 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/1.22, allocations: 4.6 MB / 1.205 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/1.221, allocations: 294.4 kB / 1.205 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/1.221, allocations: 8 kB / 1.205 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/1.221, allocations: 38.55 kB / 1.205 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/1.221, allocations: 0 / 1.205 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.005967/1.227, allocations: 2.63 MB / 1.208 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.227, allocations: 55.41 kB / 1.208 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/1.227, allocations: 397.2 kB / 1.208 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/1.227, allocations: 37.7 kB / 1.208 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/1.228, allocations: 331.8 kB / 1.209 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/1.228, allocations: 145.9 kB / 1.209 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/1.228, allocations: 8 kB / 1.209 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.228, allocations: 370.8 kB / 1.209 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/1.228, allocations: 225 kB / 1.209 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/1.229, allocations: 388.4 kB / 1.21 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/1.229, allocations: 289.5 kB / 1.21 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.229, allocations: 7.953 kB / 1.21 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001749/1.231, allocations: 0.9039 MB / 1.211 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/1.231, allocations: 16.05 kB / 1.211 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.231, allocations: 4 kB / 1.211 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008102/1.232, allocations: 222.4 kB / 1.211 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/1.232, allocations: 111.8 kB / 1.211 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005089/1.237, allocations: 5.001 MB / 1.216 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/1.238, allocations: 31.97 kB / 1.216 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/1.238, allocations: 20 kB / 1.216 GB, free: 11.91 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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.0004051/1.239, allocations: 229.7 kB / 1.216 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/1.239, allocations: 61.17 kB / 1.216 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/1.24, allocations: 0.7713 MB / 1.217 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.24, allocations: 7.984 kB / 1.217 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.24, allocations: 0 / 1.217 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.24, allocations: 4 kB / 1.217 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/1.243, allocations: 1.475 MB / 1.219 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.243, allocations: 4 kB / 1.219 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/1.243, allocations: 75.83 kB / 1.219 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007013/1.244, allocations: 202.6 kB / 1.219 GB, free: 8.977 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/1.244, allocations: 8 kB / 1.219 GB, free: 8.969 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/1.249, allocations: 4.953 MB / 1.224 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.249, allocations: 0 / 1.224 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.251, allocations: 1.218 MB / 1.225 GB, free: 2.312 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/1.251, allocations: 164.4 kB / 1.225 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/1.252, allocations: 19.98 kB / 1.225 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/1.252, allocations: 19.97 kB / 1.225 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/1.252, allocations: 31.95 kB / 1.225 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/1.252, allocations: 20.06 kB / 1.225 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004034/1.252, allocations: 306.9 kB / 1.225 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/1.252, allocations: 0 / 1.225 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007673/1.253, allocations: 175.9 kB / 1.226 GB, free: 1.574 MB / 0.7917 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.002484/1.256, allocations: 2.26 MB / 1.228 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001677/1.257, allocations: 0.9886 MB / 1.229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.257, allocations: 4 kB / 1.229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009915/1.258, allocations: 0.676 MB / 1.229 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/1.259, allocations: 161.2 kB / 1.23 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007138/1.266, allocations: 6.823 MB / 1.236 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/1.267, allocations: 0.961 MB / 1.237 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000414/1.267, allocations: 112.8 kB / 1.237 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/1.268, allocations: 207.4 kB / 1.238 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/1.268, allocations: 0 / 1.238 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/1.299, allocations: 13.21 MB / 1.25 GB, free: 8.102 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/1.299, allocations: 214.1 kB / 1.251 GB, free: 7.852 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.886, allocations: 3.094 kB / 1.251 GB, free: 7.852 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)