Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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 1.715/1.715, allocations: 287.4 MB / 302.6 MB, free: 8.176 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.001111/0.001112, allocations: 171.3 kB / 371.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007186/0.0007187, allocations: 99.55 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003928, allocations: 10.42 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2548, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003735/0.2586, allocations: 3.573 MB / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.2608, allocations: 1.494 MB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.261, allocations: 7.938 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.2613, allocations: 59.5 kB / 0.9837 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.2617, allocations: 179.2 kB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.2622, allocations: 175.6 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.2628, allocations: 0.6153 MB / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.2632, allocations: 443.7 kB / 0.9851 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.2634, allocations: 183.3 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.2637, allocations: 231.2 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.2638, allocations: 20 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.264, allocations: 83.89 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2641, allocations: 135.6 kB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.2642, allocations: 89.52 kB / 0.9858 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.2645, allocations: 403.2 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2645, allocations: 0 / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2645, allocations: 3.938 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2646, allocations: 0 / 0.9862 GB, free: 20.38 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009294/0.2655, allocations: 0.6165 MB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2655, allocations: 8.031 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.369e-05/0.2656, allocations: 74.72 kB / 0.9869 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006224/0.2663, allocations: 112.4 kB / 0.987 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.2666, allocations: 303.5 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.2667, allocations: 55.27 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.2667, allocations: 32.38 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006774/0.2674, allocations: 0.5124 MB / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2674, allocations: 0 / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.2675, allocations: 16 kB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.2675, allocations: 28.98 kB / 0.9879 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.2681, allocations: 387.7 kB / 0.9883 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.27, allocations: 2.227 MB / 0.9905 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.2707, allocations: 265.1 kB / 0.9907 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.271, allocations: 160.7 kB / 0.9909 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.271, allocations: 4 kB / 0.9909 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2711, allocations: 42.5 kB / 0.9909 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.2711, allocations: 4 kB / 0.9909 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001326/0.2724, allocations: 0.5829 MB / 0.9915 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2724, allocations: 51.41 kB / 0.9915 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2726, allocations: 225 kB / 0.9917 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2726, allocations: 33.7 kB / 0.9918 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.2727, allocations: 211.6 kB / 0.992 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2728, allocations: 71.02 kB / 0.992 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.2728, allocations: 4 kB / 0.992 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.2728, allocations: 326.8 kB / 0.9924 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.273, allocations: 95.92 kB / 0.9924 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.2733, allocations: 187.5 kB / 0.9926 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.2736, allocations: 278.5 kB / 0.9929 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2737, allocations: 3.938 kB / 0.9929 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007381/0.2744, allocations: 394.2 kB / 0.9933 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/0.2745, allocations: 165.6 kB / 0.9934 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2745, allocations: 4 kB / 0.9934 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004524/0.2749, allocations: 109.6 kB / 0.9935 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.2752, allocations: 59.84 kB / 0.9936 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.2774, allocations: 2.815 MB / 0.9963 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.2777, allocations: 43.77 kB / 0.9964 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.2777, allocations: 8 kB / 0.9964 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.2777, allocations: 4 kB / 0.9964 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007025/0.2784, allocations: 320.5 kB / 0.9967 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2784, allocations: 0 / 0.9967 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.2787, allocations: 80.94 kB / 0.9968 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.2789, allocations: 55.91 kB / 0.9968 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.2803, allocations: 1.514 MB / 0.9983 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2805, allocations: 27.83 kB / 0.9983 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.2806, allocations: 8 kB / 0.9983 GB, free: 6.945 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.2808, allocations: 253 kB / 0.9986 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.2808, allocations: 27.72 kB / 0.9986 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.2809, allocations: 26.17 kB / 0.9986 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2809, allocations: 7.938 kB / 0.9986 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2809, allocations: 0 / 0.9986 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2809, allocations: 0 / 0.9986 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.282, allocations: 0.8404 MB / 0.9995 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.282, allocations: 4.062 kB / 0.9995 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2821, allocations: 27.98 kB / 0.9995 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003281/0.2825, allocations: 109.6 kB / 0.9996 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2825, allocations: 0 / 0.9996 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.2845, allocations: 2.799 MB / 1.002 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2845, allocations: 0 / 1.002 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.2852, allocations: 430.5 kB / 1.003 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/0.2853, allocations: 120.7 kB / 1.003 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.2853, allocations: 11.94 kB / 1.003 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.2855, allocations: 15.92 kB / 1.003 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.2855, allocations: 15.98 kB / 1.003 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.2856, allocations: 12 kB / 1.003 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001033/0.2857, allocations: 160.5 kB / 1.003 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2857, allocations: 4 kB / 1.003 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005399/0.2862, allocations: 163.4 kB / 1.003 GB, free: 1.527 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008063/0.287, allocations: 0.9659 MB / 1.004 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.2887, allocations: 0.766 MB / 1.005 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2887, allocations: 0 / 1.005 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.2894, allocations: 369.8 kB / 1.005 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.2898, allocations: 51.55 kB / 1.005 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.2926, allocations: 1.677 MB / 1.007 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.293, allocations: 0.8145 MB / 1.008 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.2932, allocations: 54.25 kB / 1.008 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.2933, allocations: 87.41 kB / 1.008 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of SimCode: time 3.3e-07/0.2933, allocations: 0 / 1.008 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.3132, allocations: 6.532 MB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.3134, allocations: 213.5 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.331, allocations: 0 / 1.014 GB, free: 5.965 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)