Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.69/1.69, 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.001014/0.001014, allocations: 177.4 kB / 371.6 MB, free: 3.422 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.486/1.486, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008888/0.0008891, allocations: 90.25 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.476e-05/4.478e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8057/1.134, allocations: 162.2 MB / 1.138 GB, free: 28.08 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.134, allocations: 94.11 kB / 1.138 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08182/1.216, allocations: 36.76 MB / 1.174 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.352e-06/1.216, allocations: 0 / 1.174 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.113e-05/1.216, allocations: 27.92 kB / 1.174 GB, free: 5.125 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001206/1.218, allocations: 0.8646 MB / 1.175 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.218, allocations: 12.03 kB / 1.175 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/1.218, allocations: 115.3 kB / 1.175 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/1.219, allocations: 216.5 kB / 1.175 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/1.22, allocations: 0.5297 MB / 1.176 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/1.22, allocations: 53.7 kB / 1.176 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/1.22, allocations: 63.23 kB / 1.176 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/1.221, allocations: 1.077 MB / 1.177 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/1.221, allocations: 14.59 kB / 1.177 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/1.221, allocations: 30.69 kB / 1.177 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/1.221, allocations: 60.7 kB / 1.177 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008463/1.222, allocations: 0.6716 MB / 1.178 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/1.227, allocations: 5.775 MB / 1.184 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/1.227, allocations: 0.5899 MB / 1.184 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/1.228, allocations: 402.8 kB / 1.185 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/1.228, allocations: 4 kB / 1.185 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/1.228, allocations: 41.47 kB / 1.185 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.475e-06/1.228, allocations: 3.938 kB / 1.185 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.002207/1.23, allocations: 1.21 MB / 1.186 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/1.23, allocations: 59.22 kB / 1.186 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/1.231, allocations: 385.7 kB / 1.186 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/1.231, allocations: 29.2 kB / 1.186 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/1.231, allocations: 381.1 kB / 1.187 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/1.231, allocations: 149 kB / 1.187 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/1.231, allocations: 10.25 kB / 1.187 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.231, allocations: 367.7 kB / 1.187 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/1.232, allocations: 238.7 kB / 1.187 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/1.232, allocations: 419.2 kB / 1.188 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/1.233, allocations: 304.1 kB / 1.188 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.233, allocations: 4 kB / 1.188 GB, free: 8.535 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001664/1.234, allocations: 1.007 MB / 1.189 GB, free: 7.758 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/1.234, allocations: 11.98 kB / 1.189 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.234, allocations: 11.95 kB / 1.189 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009613/1.235, allocations: 312.4 kB / 1.189 GB, free: 7.477 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/1.236, allocations: 95.25 kB / 1.189 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/1.242, allocations: 7.082 MB / 1.196 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/1.243, allocations: 31.69 kB / 1.196 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/1.243, allocations: 23.86 kB / 1.196 GB, free: 496 kB / 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/1.243, allocations: 137.9 kB / 1.196 GB, free: 368 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/1.243, allocations: 59.41 kB / 1.197 GB, free: 308 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/1.245, allocations: 0.9021 MB / 1.197 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/1.245, allocations: 4 kB / 1.197 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.245, allocations: 8 kB / 1.197 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.245, allocations: 0 / 1.197 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/1.247, allocations: 1.851 MB / 1.199 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.247, allocations: 0 / 1.199 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/1.248, allocations: 51.83 kB / 1.199 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008177/1.249, allocations: 285.2 kB / 1.2 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/1.249, allocations: 10.38 kB / 1.2 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/1.255, allocations: 6.816 MB / 1.206 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.255, allocations: 0 / 1.206 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/1.256, allocations: 1.002 MB / 1.207 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/1.257, allocations: 175.5 kB / 1.207 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/1.257, allocations: 7.875 kB / 1.207 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/1.257, allocations: 26.47 kB / 1.207 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/1.257, allocations: 39.39 kB / 1.207 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/1.257, allocations: 12.06 kB / 1.207 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003488/1.257, allocations: 304.3 kB / 1.208 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.61e-07/1.257, allocations: 0 / 1.208 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009658/1.258, allocations: 191.2 kB / 1.208 GB, free: 5.586 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002147/1.261, allocations: 1.973 MB / 1.21 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002046/1.263, allocations: 1.154 MB / 1.211 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/1.263, allocations: 128 / 1.211 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/1.264, allocations: 0.8149 MB / 1.212 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009402/1.265, allocations: 171.4 kB / 1.212 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/1.267, allocations: 1.055 MB / 1.213 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/1.268, allocations: 1.011 MB / 1.214 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003715/1.268, allocations: 95 kB / 1.214 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/1.269, allocations: 222.1 kB / 1.214 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of SimCode: time 3.737e-06/1.269, allocations: 0 / 1.214 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/1.301, allocations: 14.03 MB / 1.228 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/1.301, allocations: 175.5 kB / 1.228 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.607, allocations: 0 / 1.228 GB, free: 1.688 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)