Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.818/2.818, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001306/0.001306, allocations: 171 kB / 371 MB, free: 10.86 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.201/2.201, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009368/0.0009366, allocations: 88.72 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006709/0.0006711, allocations: 10.97 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2185, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008598/0.2271, allocations: 5.542 MB / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00853/0.2357, allocations: 4.257 MB / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/0.2366, allocations: 19.88 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006572/0.2373, allocations: 138.9 kB / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.2401, allocations: 0.6369 MB / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2413, allocations: 236.6 kB / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002144/0.2434, allocations: 1.199 MB / 0.9902 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.2444, allocations: 484.4 kB / 0.9906 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008844/0.2453, allocations: 382.5 kB / 0.991 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.2464, allocations: 470.2 kB / 0.9915 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.2466, allocations: 32 kB / 0.9915 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006657/0.2473, allocations: 139.8 kB / 0.9916 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.2475, allocations: 207.3 kB / 0.9918 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.2478, allocations: 165.3 kB / 0.992 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.249, allocations: 0.8183 MB / 0.9928 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.249, allocations: 0 / 0.9928 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.906e-06/0.249, allocations: 0 / 0.9928 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.2491, allocations: 0 / 0.9928 GB, free: 13.51 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.002395/0.2515, allocations: 0.9737 MB / 0.9937 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.2515, allocations: 15.95 kB / 0.9937 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002311/0.2518, allocations: 106.5 kB / 0.9938 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.2571, allocations: 0.6389 MB / 0.9945 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.2584, allocations: 0.5297 MB / 0.995 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.2585, allocations: 41.3 kB / 0.995 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.2586, allocations: 55.95 kB / 0.9951 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.2618, allocations: 1.01 MB / 0.9961 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.2618, allocations: 3.984 kB / 0.9961 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.2619, allocations: 27.98 kB / 0.9961 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.341e-05/0.2621, allocations: 45.3 kB / 0.9961 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003958/0.266, allocations: 1.016 MB / 0.9971 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.272, allocations: 3.513 MB / 1.001 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.2744, allocations: 0.5212 MB / 1.001 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009355/0.2754, allocations: 240.7 kB / 1.001 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.2755, allocations: 11.97 kB / 1.001 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2755, allocations: 38.5 kB / 1.001 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.2755, allocations: 3.938 kB / 1.001 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.01281/0.2883, allocations: 2.216 MB / 1.004 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2884, allocations: 63.34 kB / 1.004 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008713/0.2893, allocations: 0.5587 MB / 1.004 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.613e-05/0.2894, allocations: 37.7 kB / 1.004 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.2897, allocations: 356.2 kB / 1.004 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.2899, allocations: 145.8 kB / 1.005 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.2899, allocations: 16 kB / 1.005 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2901, allocations: 366.8 kB / 1.005 GB, free: 444 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.2912, allocations: 276.9 kB / 1.005 GB, free: 168 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.2926, allocations: 387 kB / 1.006 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.294, allocations: 305.7 kB / 1.006 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.294, allocations: 0 / 1.006 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004493/0.2985, allocations: 0.9785 MB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.2987, allocations: 180.2 kB / 1.007 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2988, allocations: 0 / 1.007 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.3007, allocations: 284.8 kB / 1.007 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3019, allocations: 127.8 kB / 1.007 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.3132, allocations: 8.462 MB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.3144, allocations: 56.02 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.3145, allocations: 16 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3145, allocations: 4 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004397/0.3189, allocations: 1.09 MB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.319, allocations: 4.031 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.3204, allocations: 224.9 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.3216, allocations: 131.8 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/0.3311, allocations: 8.152 MB / 1.025 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3323, allocations: 63.95 kB / 1.025 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.3323, allocations: 16 kB / 1.025 GB, free: 9.91 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.0006102/0.333, allocations: 309 kB / 1.026 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3332, allocations: 71.19 kB / 1.026 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.3334, allocations: 82.36 kB / 1.026 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3334, allocations: 4.141 kB / 1.026 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.3335, allocations: 0 / 1.026 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.3335, allocations: 15.88 kB / 1.026 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.3348, allocations: 0.6455 MB / 1.026 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3349, allocations: 0 / 1.026 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/0.3358, allocations: 95.92 kB / 1.026 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.3377, allocations: 264.8 kB / 1.027 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.038e-05/0.3378, allocations: 8 kB / 1.027 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.3481, allocations: 8.412 MB / 1.035 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3482, allocations: 3.938 kB / 1.035 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/0.3523, allocations: 0.96 MB / 1.036 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/0.3528, allocations: 184.3 kB / 1.036 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.353, allocations: 7.953 kB / 1.036 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/0.3539, allocations: 55.95 kB / 1.036 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.3541, allocations: 39.88 kB / 1.036 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.3542, allocations: 16 kB / 1.036 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007453/0.3549, allocations: 403.1 kB / 1.037 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.31e-07/0.355, allocations: 0 / 1.037 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001594/0.3566, allocations: 300 kB / 1.037 GB, free: 13.14 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.004551/0.3611, allocations: 1.501 MB / 1.038 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006724/0.3679, allocations: 2.415 MB / 1.041 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.368, allocations: 0 / 1.041 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.3706, allocations: 1.035 MB / 1.042 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.3724, allocations: 221.8 kB / 1.042 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.3869, allocations: 4.355 MB / 1.046 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.3878, allocations: 0.9821 MB / 1.047 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001121/0.3889, allocations: 149.4 kB / 1.047 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005619/0.3895, allocations: 243.4 kB / 1.047 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of SimCode: time 1.442e-06/0.3895, allocations: 0 / 1.047 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6847/1.074, allocations: 18.4 MB / 1.065 GB, free: 81.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/1.075, allocations: 217.5 kB / 1.066 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.493/4.568, allocations: 1.688 kB / 1.066 GB, free: 81.45 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)