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_L.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_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.654/2.654, allocations: 287.5 MB / 302.4 MB, free: 8.363 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.00136/0.00136, allocations: 186.3 kB / 371 MB, free: 10.84 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.106/2.106, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0008961/0.0008956, allocations: 89.11 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 19.56 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008574/0.2203, allocations: 5.433 MB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006269/0.2267, allocations: 3.038 MB / 0.9867 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007139/0.2274, allocations: 23.81 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.228, allocations: 119 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.2295, allocations: 374 kB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.231, allocations: 384.7 kB / 0.9876 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.2329, allocations: 1.209 MB / 0.9888 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.2353, allocations: 0.9113 MB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009046/0.2362, allocations: 358.4 kB / 0.99 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007833/0.237, allocations: 438.4 kB / 0.9904 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.2372, allocations: 32 kB / 0.9905 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000917/0.2381, allocations: 251.6 kB / 0.9907 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.2385, allocations: 255.3 kB / 0.9909 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.2387, allocations: 161.3 kB / 0.9911 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.24, allocations: 0.8847 MB / 0.992 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2401, allocations: 0 / 0.992 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2401, allocations: 0 / 0.992 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.2401, allocations: 0 / 0.992 GB, free: 14.34 MB / 0.6198 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.001919/0.242, allocations: 0.9269 MB / 0.9929 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2421, allocations: 16.02 kB / 0.9929 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.2423, allocations: 110.5 kB / 0.993 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.2447, allocations: 234.7 kB / 0.9932 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.2459, allocations: 0.5171 MB / 0.9937 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.246, allocations: 49.3 kB / 0.9938 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.2462, allocations: 59.98 kB / 0.9938 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.2482, allocations: 1.026 MB / 0.9948 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.647e-05/0.2483, allocations: 7.906 kB / 0.9948 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.2484, allocations: 35.98 kB / 0.9949 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.2485, allocations: 69.2 kB / 0.9949 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.2501, allocations: 0.6879 MB / 0.9956 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006425/0.2565, allocations: 5.76 MB / 1.001 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.2578, allocations: 0.6033 MB / 1.002 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.2589, allocations: 421.3 kB / 1.002 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.994e-05/0.259, allocations: 4 kB / 1.002 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.259, allocations: 38.34 kB / 1.002 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.876e-06/0.259, allocations: 0 / 1.002 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.006774/0.2658, allocations: 2.045 MB / 1.004 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2659, allocations: 67.14 kB / 1.004 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.2665, allocations: 454.8 kB / 1.005 GB, free: 440 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.2666, allocations: 41.7 kB / 1.005 GB, free: 392 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.2669, allocations: 391.1 kB / 1.005 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.2671, allocations: 145.9 kB / 1.005 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.2671, allocations: 12 kB / 1.005 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.2673, allocations: 366.8 kB / 1.006 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.268, allocations: 241.2 kB / 1.006 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.2688, allocations: 460.9 kB / 1.006 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.2696, allocations: 311.8 kB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2696, allocations: 0 / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003331/0.273, allocations: 1.066 MB / 1.008 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.2731, allocations: 10.03 kB / 1.008 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.2731, allocations: 8 kB / 1.008 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.275, allocations: 335.1 kB / 1.008 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.2757, allocations: 95.83 kB / 1.008 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.2866, allocations: 6.935 MB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/0.2874, allocations: 32.3 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.2875, allocations: 27.98 kB / 1.015 GB, free: 5.32 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005172/0.288, allocations: 249.5 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.2882, allocations: 67.19 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/0.2911, allocations: 0.9082 MB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.2912, allocations: 4 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.2912, allocations: 7.953 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2912, allocations: 0 / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/0.2959, allocations: 1.704 MB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.2959, allocations: 4 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.2963, allocations: 35.97 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.298, allocations: 335.4 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.2981, allocations: 8 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.31, allocations: 6.931 MB / 1.025 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.3101, allocations: 3.938 kB / 1.025 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/0.3143, allocations: 1.007 MB / 1.026 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.315, allocations: 176.4 kB / 1.026 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.3152, allocations: 16.27 kB / 1.026 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007195/0.3159, allocations: 15.98 kB / 1.026 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.3161, allocations: 43.94 kB / 1.026 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.3162, allocations: 15.94 kB / 1.026 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007511/0.317, allocations: 306.9 kB / 1.026 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.81e-07/0.317, allocations: 0 / 1.026 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001554/0.3186, allocations: 200 kB / 1.027 GB, free: 8.582 MB / 0.6511 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 (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 {(3,88.9%) 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.004892/0.3235, allocations: 1.552 MB / 1.028 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003339/0.3269, allocations: 1.207 MB / 1.029 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.327, allocations: 4 kB / 1.029 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.3291, allocations: 0.8585 MB / 1.03 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.3308, allocations: 182 kB / 1.03 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/0.3408, allocations: 4.034 MB / 1.034 GB, free: 432 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008703/0.3417, allocations: 0.9959 MB / 1.035 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005598/0.3423, allocations: 105.2 kB / 1.035 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.3427, allocations: 223.4 kB / 1.036 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of SimCode: time 1.022e-06/0.3427, allocations: 4 kB / 1.036 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/0.3963, allocations: 14.59 MB / 1.05 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003726/0.3967, allocations: 224.7 kB / 1.05 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/3.515, allocations: 4 kB / 1.05 GB, free: 0.5469 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)