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_L.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_L,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 252 MB / 267.3 MB, free: 10.86 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.002085/0.002085, allocations: 177.6 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.387/2.387, allocations: 205.4 MB / 0.578 GB, free: 20.43 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.0008247/0.0008242, allocations: 99.36 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 12.56 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2133, allocations: 106.3 MB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005404/0.2188, allocations: 5.652 MB / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004311/0.2231, allocations: 3.193 MB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006593/0.2238, allocations: 23.81 kB / 0.9096 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.2244, allocations: 122.9 kB / 0.9097 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.2257, allocations: 434 kB / 0.9101 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2269, allocations: 448.3 kB / 0.9105 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.2284, allocations: 1.455 MB / 0.912 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.2302, allocations: 0.9988 MB / 0.9129 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006975/0.2309, allocations: 362.3 kB / 0.9133 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.2316, allocations: 450.2 kB / 0.9137 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.2317, allocations: 32 kB / 0.9137 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000999/0.2327, allocations: 0.5691 MB / 0.9143 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.233, allocations: 255.2 kB / 0.9145 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004627/0.2335, allocations: 379.7 kB / 0.9149 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.2349, allocations: 1.16 MB / 0.916 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2349, allocations: 0 / 0.916 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2349, allocations: 0 / 0.916 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.883e-05/0.2349, allocations: 0 / 0.916 GB, free: 48.18 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001604/0.2365, allocations: 0.9193 MB / 0.9169 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.2366, allocations: 8.031 kB / 0.9169 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.2368, allocations: 118.7 kB / 0.9171 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.2383, allocations: 215.7 kB / 0.9173 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007259/0.2391, allocations: 0.5337 MB / 0.9178 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.2391, allocations: 45.67 kB / 0.9178 GB, free: 46.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2392, allocations: 68.27 kB / 0.9179 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2405, allocations: 1.03 MB / 0.9189 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.2405, allocations: 7.938 kB / 0.9189 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.2406, allocations: 35.98 kB / 0.9189 GB, free: 45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/0.2406, allocations: 65.27 kB / 0.919 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.2416, allocations: 0.6957 MB / 0.9197 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.2453, allocations: 5.76 MB / 0.9253 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.246, allocations: 0.5989 MB / 0.9259 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/0.2466, allocations: 412.6 kB / 0.9263 GB, free: 37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.2467, allocations: 4.688 kB / 0.9263 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.2467, allocations: 42.56 kB / 0.9263 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.2467, allocations: 0 / 0.9263 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003789/0.2505, allocations: 2.068 MB / 0.9284 GB, free: 34.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.2505, allocations: 55.41 kB / 0.9284 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.2509, allocations: 458.8 kB / 0.9288 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.2509, allocations: 37.64 kB / 0.9289 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.2511, allocations: 387 kB / 0.9292 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.2512, allocations: 145.9 kB / 0.9294 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.2512, allocations: 12 kB / 0.9294 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.2513, allocations: 366.8 kB / 0.9297 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.2516, allocations: 245.2 kB / 0.93 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.2519, allocations: 465 kB / 0.9304 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/0.2526, allocations: 0.7556 MB / 0.9312 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2526, allocations: 0 / 0.9312 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001551/0.2542, allocations: 1.061 MB / 0.9322 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2542, allocations: 8.875 kB / 0.9322 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2542, allocations: 8 kB / 0.9322 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009111/0.2552, allocations: 339 kB / 0.9325 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.2555, allocations: 95.83 kB / 0.9326 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/0.2604, allocations: 6.943 MB / 0.9394 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.2609, allocations: 31.98 kB / 0.9394 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.261, allocations: 27.94 kB / 0.9395 GB, free: 22.59 MB / 0.6042 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003357/0.2613, allocations: 245.5 kB / 0.9397 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.2614, allocations: 59.39 kB / 0.9398 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.2629, allocations: 0.9194 MB / 0.9407 GB, free: 21.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2629, allocations: 4 kB / 0.9407 GB, free: 21.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.263, allocations: 4 kB / 0.9407 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.263, allocations: 7.984 kB / 0.9407 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.2652, allocations: 1.7 MB / 0.9423 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2652, allocations: 0 / 0.9423 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.2653, allocations: 51.83 kB / 0.9424 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008514/0.2662, allocations: 327.7 kB / 0.9427 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.2662, allocations: 15.94 kB / 0.9427 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004872/0.2711, allocations: 6.935 MB / 0.9495 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2712, allocations: 4 kB / 0.9495 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.2726, allocations: 1.011 MB / 0.9505 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.2728, allocations: 180.3 kB / 0.9506 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.2729, allocations: 11.98 kB / 0.9507 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.2731, allocations: 19.97 kB / 0.9507 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.2733, allocations: 51.77 kB / 0.9507 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.2733, allocations: 12 kB / 0.9507 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003098/0.2736, allocations: 306.9 kB / 0.951 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2736, allocations: 4 kB / 0.951 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007038/0.2743, allocations: 192 kB / 0.9512 GB, free: 9.82 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001549/0.2759, allocations: 1.559 MB / 0.9527 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.2775, allocations: 1.215 MB / 0.9539 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2775, allocations: 0 / 0.9539 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009679/0.2785, allocations: 0.862 MB / 0.9548 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.2795, allocations: 190.4 kB / 0.9549 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.2868, allocations: 6.247 MB / 0.961 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.2875, allocations: 0.9843 MB / 0.962 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003693/0.2879, allocations: 105.2 kB / 0.9621 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.2882, allocations: 231.3 kB / 0.9623 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2882, allocations: 3.938 kB / 0.9623 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3198, allocations: 14.44 MB / 0.9764 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.3201, allocations: 249.2 kB / 0.9767 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/2.803, allocations: 0 / 0.9767 GB, free: 15.48 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)