Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine",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.751/1.751, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.001536/0.001536, allocations: 180.5 kB / 372 MB, free: 10.24 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.815/1.815, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0007487/0.0007486, allocations: 86.41 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004289, allocations: 11.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2376, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005523/0.2432, allocations: 5.53 MB / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004898/0.2482, allocations: 4.257 MB / 0.9892 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.2487, allocations: 23.88 kB / 0.9892 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.2491, allocations: 142.9 kB / 0.9894 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.2507, allocations: 0.6311 MB / 0.99 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.2513, allocations: 236.8 kB / 0.9902 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009536/0.2522, allocations: 1.201 MB / 0.9914 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.2527, allocations: 492.2 kB / 0.9918 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.2531, allocations: 374.5 kB / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.2536, allocations: 470.2 kB / 0.9927 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.995e-05/0.2537, allocations: 35.98 kB / 0.9927 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.2541, allocations: 143.8 kB / 0.9928 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2542, allocations: 199.3 kB / 0.993 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2543, allocations: 165.3 kB / 0.9932 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.2549, allocations: 0.8145 MB / 0.994 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2549, allocations: 4 kB / 0.994 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2549, allocations: 0 / 0.994 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.2549, allocations: 4 kB / 0.994 GB, free: 12.79 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001483/0.2564, allocations: 0.9736 MB / 0.9949 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.2565, allocations: 16.02 kB / 0.9949 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.2566, allocations: 94.52 kB / 0.995 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/0.2595, allocations: 0.6545 MB / 0.9957 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008195/0.2604, allocations: 0.522 MB / 0.9962 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.2604, allocations: 41.3 kB / 0.9962 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.2605, allocations: 48 kB / 0.9963 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.2622, allocations: 1.018 MB / 0.9973 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2623, allocations: 8 kB / 0.9973 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.2623, allocations: 23.98 kB / 0.9973 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/0.2624, allocations: 45.3 kB / 0.9973 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.2645, allocations: 1.012 MB / 0.9983 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.2679, allocations: 3.517 MB / 1.002 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.2692, allocations: 0.5201 MB / 1.002 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.2697, allocations: 248.6 kB / 1.002 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.2697, allocations: 12.52 kB / 1.003 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2698, allocations: 42.5 kB / 1.003 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 1.953e-06/0.2698, allocations: 0 / 1.003 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.006298/0.2761, allocations: 2.215 MB / 1.005 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.2761, allocations: 55.41 kB / 1.005 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.2767, allocations: 0.5665 MB / 1.005 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.2767, allocations: 29.7 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.2769, allocations: 368.2 kB / 1.006 GB, free: 232 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.277, allocations: 153.8 kB / 1.006 GB, free: 76 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.277, allocations: 4 kB / 1.006 GB, free: 72 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2772, allocations: 374.8 kB / 1.006 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006785/0.2779, allocations: 268.9 kB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007634/0.2786, allocations: 381.8 kB / 1.007 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.2794, allocations: 309.7 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2794, allocations: 0 / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002512/0.2819, allocations: 0.9861 MB / 1.008 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.2821, allocations: 172.5 kB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2821, allocations: 8 kB / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.2833, allocations: 276.8 kB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.284, allocations: 119.8 kB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007498/0.2915, allocations: 8.469 MB / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/0.2922, allocations: 56.02 kB / 1.017 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.2923, allocations: 23.98 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2923, allocations: 5.094 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002478/0.2948, allocations: 1.078 MB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.2948, allocations: 4 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007928/0.2956, allocations: 217.1 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.2963, allocations: 131.8 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006421/0.3027, allocations: 8.16 MB / 1.026 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/0.3035, allocations: 60.09 kB / 1.026 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.3035, allocations: 19.95 kB / 1.026 GB, free: 9.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005667/0.3041, allocations: 309 kB / 1.027 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3042, allocations: 71.17 kB / 1.027 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.3044, allocations: 78.38 kB / 1.027 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3044, allocations: 8 kB / 1.027 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.3044, allocations: 0 / 1.027 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3044, allocations: 0 / 1.027 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/0.3052, allocations: 0.6494 MB / 1.028 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3052, allocations: 0 / 1.028 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.3058, allocations: 99.91 kB / 1.028 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.3068, allocations: 264.9 kB / 1.028 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.3069, allocations: 8 kB / 1.028 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006819/0.3137, allocations: 8.431 MB / 1.036 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3137, allocations: 0 / 1.036 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.3163, allocations: 0.9599 MB / 1.037 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.3166, allocations: 180.3 kB / 1.037 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.973e-05/0.3167, allocations: 15.95 kB / 1.037 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.3172, allocations: 47.89 kB / 1.037 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.3174, allocations: 43.94 kB / 1.037 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.3174, allocations: 15.94 kB / 1.037 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00048/0.3179, allocations: 403.1 kB / 1.038 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3179, allocations: 0 / 1.038 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001048/0.319, allocations: 296 kB / 1.038 GB, free: 12.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002726/0.3217, allocations: 1.509 MB / 1.039 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003922/0.3256, allocations: 2.415 MB / 1.042 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3257, allocations: 4.125 kB / 1.042 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.3271, allocations: 1.031 MB / 1.043 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3282, allocations: 213.7 kB / 1.043 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/0.336, allocations: 4.351 MB / 1.047 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.3367, allocations: 0.986 MB / 1.048 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006746/0.3373, allocations: 153.4 kB / 1.048 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.3377, allocations: 235.3 kB / 1.049 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of SimCode: time 9.72e-07/0.3377, allocations: 0 / 1.049 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.44/0.7777, allocations: 18.42 MB / 1.067 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.7779, allocations: 219.5 kB / 1.067 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.433, allocations: 1.344 kB / 1.067 GB, free: 81.99 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)