Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.5 MB / 266.7 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009725/0.0009724, allocations: 175.9 kB / 325.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007222/0.0007223, allocations: 91.12 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 7.875 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007909/0.1532, allocations: 10.46 MB / 0.9064 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008469/0.1617, allocations: 8.871 MB / 0.9151 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.1623, allocations: 51.69 kB / 0.9151 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.1651, allocations: 1.554 MB / 0.9167 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.1674, allocations: 1.393 MB / 0.918 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009694/0.1684, allocations: 0.606 MB / 0.9186 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.17, allocations: 2.895 MB / 0.9214 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.1711, allocations: 1.325 MB / 0.9227 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006969/0.1719, allocations: 0.8362 MB / 0.9235 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007492/0.1726, allocations: 0.9413 MB / 0.9245 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.1727, allocations: 60 kB / 0.9245 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009718/0.1737, allocations: 0.885 MB / 0.9254 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.174, allocations: 482.3 kB / 0.9258 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.1744, allocations: 0.7807 MB / 0.9266 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.1759, allocations: 2.499 MB / 0.929 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1759, allocations: 0 / 0.929 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1759, allocations: 0 / 0.929 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.1759, allocations: 0 / 0.929 GB, free: 34.27 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001997/0.1779, allocations: 1.703 MB / 0.9307 GB, free: 32.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1779, allocations: 12.03 kB / 0.9307 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.1781, allocations: 190.1 kB / 0.9309 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009828/0.1879, allocations: 2.12 MB / 0.933 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.1895, allocations: 1.122 MB / 0.9341 GB, free: 29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.1896, allocations: 90.62 kB / 0.9342 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.1897, allocations: 119.9 kB / 0.9343 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/0.1941, allocations: 2.502 MB / 0.9367 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.1941, allocations: 7.906 kB / 0.9367 GB, free: 26.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.1942, allocations: 59.98 kB / 0.9368 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002742/0.1945, allocations: 126.1 kB / 0.9369 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006014/0.2005, allocations: 2.592 MB / 0.9394 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009358/0.2099, allocations: 10.11 MB / 0.9493 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005331/0.2153, allocations: 2 MB / 0.9513 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.2176, allocations: 0.9894 MB / 0.9522 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.2177, allocations: 4.438 kB / 0.9522 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.2177, allocations: 50.92 kB / 0.9523 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.2177, allocations: 0 / 0.9523 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.02624/0.2439, allocations: 8.781 MB / 0.9608 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.244, allocations: 64 kB / 0.9609 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.2451, allocations: 1.101 MB / 0.962 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.2452, allocations: 37.7 kB / 0.962 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.2456, allocations: 0.7341 MB / 0.9627 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.2458, allocations: 283.9 kB / 0.963 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.246, allocations: 77.67 kB / 0.9631 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2461, allocations: 345.9 kB / 0.9634 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/0.2489, allocations: 1.098 MB / 0.9645 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/0.2517, allocations: 1.325 MB / 0.9658 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005554/0.2573, allocations: 2.421 MB / 0.9681 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2573, allocations: 8 kB / 0.9681 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008008/0.2653, allocations: 3.316 MB / 0.9714 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2653, allocations: 10.97 kB / 0.9714 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2653, allocations: 8 kB / 0.9714 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.2679, allocations: 0.7873 MB / 0.9722 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.2697, allocations: 427.3 kB / 0.9726 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.2828, allocations: 14.71 MB / 0.9869 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.2848, allocations: 303.6 kB / 0.9872 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.2849, allocations: 51.97 kB / 0.9873 GB, free: 4.191 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006222/0.2855, allocations: 407.2 kB / 0.9877 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.2857, allocations: 138.3 kB / 0.9878 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/0.294, allocations: 3.249 MB / 0.991 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.294, allocations: 8 kB / 0.991 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2941, allocations: 8 kB / 0.991 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2941, allocations: 3.984 kB / 0.991 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.3041, allocations: 4.955 MB / 0.9958 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3041, allocations: 0 / 0.9958 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.3057, allocations: 363.7 kB / 0.9962 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/0.3079, allocations: 0.7018 MB / 0.9969 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/0.308, allocations: 35.95 kB / 0.9969 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/0.3205, allocations: 14.33 MB / 1.011 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3205, allocations: 4 kB / 1.011 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007536/0.328, allocations: 3.081 MB / 1.014 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.3286, allocations: 383.1 kB / 1.014 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.3288, allocations: 23.98 kB / 1.014 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.3305, allocations: 299.5 kB / 1.015 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.3307, allocations: 80.48 kB / 1.015 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-05/0.3308, allocations: 39.97 kB / 1.015 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008326/0.3317, allocations: 0.7443 MB / 1.015 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.302e-06/0.3317, allocations: 0 / 1.015 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001219/0.3329, allocations: 431.9 kB / 1.016 GB, free: 5.582 MB / 0.6667 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008001/0.3409, allocations: 3.668 MB / 1.019 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007612/0.3485, allocations: 3.652 MB / 1.023 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3486, allocations: 0 / 1.023 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00448/0.353, allocations: 2.387 MB / 1.025 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.3553, allocations: 491.8 kB / 1.026 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/0.3857, allocations: 17.24 MB / 1.043 GB, free: 9.203 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008703/0.3866, allocations: 1.395 MB / 1.044 GB, free: 7.773 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00138/0.388, allocations: 375.9 kB / 1.044 GB, free: 7.402 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007166/0.3888, allocations: 0.593 MB / 1.045 GB, free: 6.809 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.3888, allocations: 4 kB / 1.045 GB, free: 6.805 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8487/1.237, allocations: 39.55 MB / 1.084 GB, free: 133.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.238, allocations: 241.8 kB / 1.084 GB, free: 133.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/4.285, allocations: 4.062 kB / 1.084 GB, free: 133.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)