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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.598/1.598, allocations: 252 MB / 267.3 MB, free: 10.85 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.001031/0.001031, allocations: 172.3 kB / 327 MB, free: 2.094 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.633/1.633, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007598/0.0007596, allocations: 101.8 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8.688 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2069, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003963/0.2109, allocations: 4.008 MB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003626/0.2146, allocations: 3.215 MB / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.2148, allocations: 8 kB / 0.908 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.2153, allocations: 179 kB / 0.9082 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007229/0.2161, allocations: 352.5 kB / 0.9085 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.2166, allocations: 227.6 kB / 0.9087 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.2172, allocations: 0.8062 MB / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.2183, allocations: 0.8213 MB / 0.9103 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.2185, allocations: 187.2 kB / 0.9105 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.2188, allocations: 247 kB / 0.9107 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.2189, allocations: 20 kB / 0.9107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.2195, allocations: 379.4 kB / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2196, allocations: 139.5 kB / 0.9112 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2198, allocations: 224.6 kB / 0.9114 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.2205, allocations: 0.8335 MB / 0.9123 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2205, allocations: 3.938 kB / 0.9123 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2205, allocations: 0 / 0.9123 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.2206, allocations: 0 / 0.9123 GB, free: 51.69 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001107/0.2217, allocations: 0.7169 MB / 0.913 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.2217, allocations: 12.03 kB / 0.913 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.906e-05/0.2218, allocations: 70.72 kB / 0.913 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/0.2246, allocations: 0.6906 MB / 0.9137 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.2253, allocations: 483.7 kB / 0.9142 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2253, allocations: 25.03 kB / 0.9142 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.2254, allocations: 35.92 kB / 0.9142 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.2267, allocations: 0.7904 MB / 0.915 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.2268, allocations: 4 kB / 0.915 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.2268, allocations: 8 kB / 0.915 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.2269, allocations: 56.58 kB / 0.9151 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.2287, allocations: 0.8765 MB / 0.9159 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.232, allocations: 2.858 MB / 0.9187 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.2335, allocations: 0.5253 MB / 0.9192 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.2341, allocations: 264.6 kB / 0.9195 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.072e-05/0.2342, allocations: 89.09 kB / 0.9196 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.2343, allocations: 34.56 kB / 0.9196 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.2343, allocations: 0 / 0.9196 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.01089/0.2452, allocations: 3.219 MB / 0.9227 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2453, allocations: 81.09 kB / 0.9228 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.2457, allocations: 413.6 kB / 0.9232 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.2457, allocations: 33.7 kB / 0.9232 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.2459, allocations: 247.7 kB / 0.9235 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.221e-05/0.246, allocations: 74.89 kB / 0.9236 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.246, allocations: 12 kB / 0.9236 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.2461, allocations: 342.8 kB / 0.9239 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00081/0.2469, allocations: 367.5 kB / 0.9242 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008328/0.2477, allocations: 445.3 kB / 0.9247 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.2494, allocations: 0.7766 MB / 0.9254 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2494, allocations: 0 / 0.9254 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004693/0.2541, allocations: 1.553 MB / 0.9269 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-05/0.2542, allocations: 144.3 kB / 0.9271 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2542, allocations: 0 / 0.9271 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/0.258, allocations: 0.852 MB / 0.9279 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.2586, allocations: 127.8 kB / 0.928 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.2644, allocations: 4.679 MB / 0.9326 GB, free: 30 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.2652, allocations: 119.8 kB / 0.9327 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.2652, allocations: 12 kB / 0.9327 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.2653, allocations: 4 kB / 0.9327 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003904/0.2692, allocations: 1.273 MB / 0.934 GB, free: 28.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2692, allocations: 8.125 kB / 0.934 GB, free: 28.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.2716, allocations: 0.5508 MB / 0.9345 GB, free: 28.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.2722, allocations: 151.8 kB / 0.9347 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.2752, allocations: 2.498 MB / 0.9371 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/0.276, allocations: 115.9 kB / 0.9372 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.276, allocations: 12 kB / 0.9372 GB, free: 25.13 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004043/0.2764, allocations: 325 kB / 0.9375 GB, free: 24.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.2765, allocations: 35.61 kB / 0.9376 GB, free: 24.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.2808, allocations: 1.427 MB / 0.939 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2808, allocations: 4 kB / 0.939 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2808, allocations: 0 / 0.939 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2808, allocations: 3.938 kB / 0.939 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/0.2857, allocations: 2.083 MB / 0.941 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2857, allocations: 7.938 kB / 0.941 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.2861, allocations: 83.83 kB / 0.9411 GB, free: 21.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/0.2893, allocations: 0.7897 MB / 0.9419 GB, free: 20.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.2894, allocations: 12 kB / 0.9419 GB, free: 20.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.2943, allocations: 4.481 MB / 0.9463 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2944, allocations: 0 / 0.9463 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.2985, allocations: 1.445 MB / 0.9477 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.2988, allocations: 172.6 kB / 0.9478 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/0.2989, allocations: 11.94 kB / 0.9478 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.2995, allocations: 99.84 kB / 0.9479 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.2996, allocations: 19.97 kB / 0.948 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.2997, allocations: 8 kB / 0.948 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003263/0.3, allocations: 311.1 kB / 0.9483 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.01e-07/0.3, allocations: 0 / 0.9483 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008408/0.3009, allocations: 215.9 kB / 0.9485 GB, free: 13.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00449/0.3054, allocations: 2.008 MB / 0.9504 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.3088, allocations: 1.625 MB / 0.952 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3088, allocations: 4.125 kB / 0.952 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.3099, allocations: 0.6689 MB / 0.9527 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.3107, allocations: 128.8 kB / 0.9528 GB, free: 8.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.325, allocations: 6.931 MB / 0.9596 GB, free: 1.566 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.3254, allocations: 0.9209 MB / 0.9605 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000557/0.326, allocations: 155.2 kB / 0.9606 GB, free: 476 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.3263, allocations: 135.4 kB / 0.9607 GB, free: 340 kB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/0.3263, allocations: 0 / 0.9607 GB, free: 340 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.358, allocations: 15.82 MB / 0.9762 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.3583, allocations: 257.2 kB / 0.9764 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/2.915, allocations: 0 / 0.9764 GB, free: 0.5117 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)