Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.716/1.716, allocations: 288.4 MB / 303.3 MB, free: 8.047 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.001515/0.001515, allocations: 182.3 kB / 372 MB, free: 10.25 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.611/1.611, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.000778/0.0007778, allocations: 100.8 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003792, allocations: 10.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2195, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003967/0.2235, allocations: 3.566 MB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.2257, allocations: 1.505 MB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.2259, allocations: 8 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.2261, allocations: 63.5 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.2265, allocations: 183.1 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.2269, allocations: 164.8 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.2273, allocations: 0.6231 MB / 0.9856 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.2277, allocations: 385.7 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2279, allocations: 179.3 kB / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.2282, allocations: 243.2 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.2283, allocations: 16 kB / 0.9864 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.2284, allocations: 83.89 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2286, allocations: 123.7 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.2286, allocations: 89.52 kB / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.2289, allocations: 403.2 kB / 0.9871 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2289, allocations: 0 / 0.9871 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.755e-06/0.229, allocations: 3.984 kB / 0.9871 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.229, allocations: 0 / 0.9871 GB, free: 19.9 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.0009377/0.2299, allocations: 0.624 MB / 0.9877 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.23, allocations: 16.02 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.23, allocations: 70.53 kB / 0.9878 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000657/0.2307, allocations: 107.5 kB / 0.9879 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.231, allocations: 298.3 kB / 0.9881 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.2311, allocations: 50.7 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.2312, allocations: 35.98 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.2318, allocations: 0.5046 MB / 0.9887 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2319, allocations: 0 / 0.9887 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.2319, allocations: 16 kB / 0.9887 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.232, allocations: 36.97 kB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005919/0.2326, allocations: 391.6 kB / 0.9891 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.2344, allocations: 2.22 MB / 0.9913 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.235, allocations: 270.6 kB / 0.9916 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.2354, allocations: 160.6 kB / 0.9917 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.2354, allocations: 11.98 kB / 0.9917 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2355, allocations: 34.56 kB / 0.9918 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.2355, allocations: 0 / 0.9918 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001411/0.2369, allocations: 0.5838 MB / 0.9923 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.2369, allocations: 51.41 kB / 0.9924 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2371, allocations: 228.9 kB / 0.9926 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.2371, allocations: 29.7 kB / 0.9926 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.2372, allocations: 211.7 kB / 0.9928 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.2373, allocations: 66.95 kB / 0.9929 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.2373, allocations: 4 kB / 0.9929 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.2374, allocations: 330.8 kB / 0.9932 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2376, allocations: 95.94 kB / 0.9933 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.2378, allocations: 187.5 kB / 0.9935 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.238, allocations: 117.7 kB / 0.9936 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.238, allocations: 3.953 kB / 0.9936 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000762/0.2388, allocations: 380.3 kB / 0.994 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.2389, allocations: 163.7 kB / 0.9941 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2389, allocations: 4 kB / 0.9941 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004964/0.2394, allocations: 109.6 kB / 0.9942 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.2396, allocations: 59.86 kB / 0.9943 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.2421, allocations: 2.826 MB / 0.997 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.2423, allocations: 39.67 kB / 0.9971 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.2424, allocations: 8 kB / 0.9971 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.2424, allocations: 4 kB / 0.9971 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006555/0.243, allocations: 312.7 kB / 0.9974 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.243, allocations: 4 kB / 0.9974 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/0.2433, allocations: 76.91 kB / 0.9975 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.2435, allocations: 59.91 kB / 0.9975 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.245, allocations: 1.491 MB / 0.999 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.2452, allocations: 35.69 kB / 0.999 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2453, allocations: 8 kB / 0.999 GB, free: 6.68 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.0001927/0.2455, allocations: 251.1 kB / 0.9993 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.2455, allocations: 19.81 kB / 0.9993 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.2456, allocations: 30.17 kB / 0.9993 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.2456, allocations: 4 kB / 0.9993 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2456, allocations: 7.938 kB / 0.9993 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2456, allocations: 3.953 kB / 0.9993 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.2467, allocations: 0.8381 MB / 1 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2468, allocations: 0 / 1 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.2469, allocations: 39.91 kB / 1 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/0.2473, allocations: 105.7 kB / 1 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2473, allocations: 4 kB / 1 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.2493, allocations: 2.806 MB / 1.003 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2494, allocations: 0 / 1.003 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.2501, allocations: 421.1 kB / 1.003 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.2501, allocations: 124.8 kB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.2502, allocations: 11.95 kB / 1.004 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2503, allocations: 11.98 kB / 1.004 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.2504, allocations: 19.97 kB / 1.004 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2504, allocations: 8 kB / 1.004 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001042/0.2505, allocations: 160.5 kB / 1.004 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2506, allocations: 0 / 1.004 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005389/0.2511, allocations: 167.3 kB / 1.004 GB, free: 1.266 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.0008697/0.252, allocations: 0.9652 MB / 1.005 GB, free: 268 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.2538, allocations: 0.7565 MB / 1.006 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2539, allocations: 0.625 kB / 1.006 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007672/0.2546, allocations: 382.2 kB / 1.006 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.2551, allocations: 53.47 kB / 1.006 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.2583, allocations: 1.68 MB / 1.008 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.2587, allocations: 0.8068 MB / 1.008 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002228/0.2589, allocations: 58.23 kB / 1.008 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.2591, allocations: 87.41 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of SimCode: time 3.5e-07/0.2591, allocations: 4 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.2809, allocations: 6.58 MB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.2811, allocations: 225.6 kB / 1.015 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.232, allocations: 2.812 kB / 1.015 GB, free: 5.645 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)