Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.599/2.599, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001574/0.001573, allocations: 181.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 98.47 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007467/0.0007472, allocations: 16.38 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2825, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.325, allocations: 206.9 MB / 1.18 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/1.325, allocations: 100.1 kB / 1.18 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.3726/1.698, allocations: 84.72 MB / 1.263 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.256e-06/1.698, allocations: 3.938 kB / 1.263 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003118/1.698, allocations: 39.94 kB / 1.263 GB, free: 15.61 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.01013/1.708, allocations: 1.808 MB / 1.265 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 7.111e-05/1.708, allocations: 20.02 kB / 1.265 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001493/1.71, allocations: 202.1 kB / 1.265 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03186/1.742, allocations: 1.882 MB / 1.267 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006942/1.749, allocations: 1.224 MB / 1.268 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/1.749, allocations: 90.36 kB / 1.268 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/1.75, allocations: 120 kB / 1.268 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/1.768, allocations: 2.736 MB / 1.271 GB, free: 7.223 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/1.768, allocations: 11.84 kB / 1.271 GB, free: 7.211 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005441/1.769, allocations: 55.98 kB / 1.271 GB, free: 7.156 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002684/1.769, allocations: 86.23 kB / 1.271 GB, free: 7.07 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02405/1.793, allocations: 2.846 MB / 1.274 GB, free: 4.215 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03178/1.825, allocations: 10.72 MB / 1.284 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.838, allocations: 2.596 MB / 1.287 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/1.839, allocations: 9 kB / 1.287 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/1.839, allocations: 43.56 kB / 1.287 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 4.278e-06/1.839, allocations: 4 kB / 1.287 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.1005/1.939, allocations: 13.99 MB / 1.301 GB, free: 7.977 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/1.939, allocations: 226.9 kB / 1.301 GB, free: 7.707 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/1.942, allocations: 0.9697 MB / 1.302 GB, free: 6.727 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003907/1.942, allocations: 49.7 kB / 1.302 GB, free: 6.672 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007975/1.943, allocations: 0.7041 MB / 1.303 GB, free: 5.961 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007943/1.944, allocations: 453.4 kB / 1.303 GB, free: 5.512 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/1.944, allocations: 28 kB / 1.303 GB, free: 5.484 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.944, allocations: 353.9 kB / 1.303 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006506/1.951, allocations: 1.369 MB / 1.305 GB, free: 3.762 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006961/1.958, allocations: 1.63 MB / 1.306 GB, free: 2.031 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006806/1.965, allocations: 1.466 MB / 1.308 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/1.965, allocations: 4 kB / 1.308 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.02396/1.989, allocations: 4.556 MB / 1.312 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/1.989, allocations: 8 kB / 1.312 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.989, allocations: 4 kB / 1.312 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/2.001, allocations: 1.623 MB / 1.314 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/2.005, allocations: 435.3 kB / 1.314 GB, free: 9.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04516/2.051, allocations: 25.33 MB / 1.339 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004715/2.055, allocations: 319.5 kB / 1.339 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004217/2.056, allocations: 67.95 kB / 1.339 GB, free: 14.41 MB / 0.8698 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00174/2.058, allocations: 433.5 kB / 1.34 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/2.058, allocations: 166.1 kB / 1.34 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02382/2.082, allocations: 4.586 MB / 1.344 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/2.082, allocations: 19.92 kB / 1.344 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.566e-05/2.082, allocations: 15.95 kB / 1.344 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/2.082, allocations: 3.984 kB / 1.344 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03139/2.114, allocations: 7.013 MB / 1.351 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/2.114, allocations: 12.06 kB / 1.351 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004117/2.118, allocations: 387.3 kB / 1.352 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01819/2.136, allocations: 1.509 MB / 1.353 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005034/2.137, allocations: 40.05 kB / 1.353 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06197/2.199, allocations: 24.36 MB / 1.377 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/2.199, allocations: 7.969 kB / 1.377 GB, free: 5.863 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02234/2.221, allocations: 4.513 MB / 1.381 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/2.223, allocations: 471 kB / 1.382 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00053/2.224, allocations: 27.98 kB / 1.382 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004345/2.228, allocations: 319.5 kB / 1.382 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006735/2.229, allocations: 133 kB / 1.382 GB, free: 224 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/2.229, allocations: 51.95 kB / 1.382 GB, free: 172 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001805/2.231, allocations: 0.7487 MB / 1.383 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.12e-07/2.231, allocations: 0 / 1.383 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003634/2.234, allocations: 0.6016 MB / 1.384 GB, free: 14.82 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02472/2.259, allocations: 5.853 MB / 1.389 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02041/2.28, allocations: 5.173 MB / 1.394 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/2.28, allocations: 0 / 1.394 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/2.294, allocations: 3.569 MB / 1.398 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006432/2.3, allocations: 0.489 MB / 1.398 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07468/2.375, allocations: 18.45 MB / 1.416 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/2.377, allocations: 1.509 MB / 1.418 GB, free: 10.74 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003378/2.381, allocations: 421.4 kB / 1.418 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/2.383, allocations: 0.6359 MB / 1.419 GB, free: 9.688 MB / 0.948 GB Notification: Performance of SimCode: time 1.263e-06/2.383, allocations: 0 / 1.419 GB, free: 9.688 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9955/3.378, allocations: 51.3 MB / 1.469 GB, free: 286.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/3.378, allocations: 226.2 kB / 1.469 GB, free: 286.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.386/7.765, allocations: 0 / 1.469 GB, free: 286.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)