Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009859/0.0009862, allocations: 188 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.4 MB / 0.5777 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008612/0.0008611, allocations: 99.28 kB / 0.6823 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 13.22 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2558, allocations: 106.3 MB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005705/0.2616, allocations: 5.545 MB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005282/0.267, allocations: 4.249 MB / 0.9099 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006069/0.2676, allocations: 23.88 kB / 0.9099 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.2681, allocations: 142.9 kB / 0.91 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.27, allocations: 0.6216 MB / 0.9106 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.2707, allocations: 241.6 kB / 0.9109 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.2719, allocations: 1.203 MB / 0.912 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006268/0.2726, allocations: 480.4 kB / 0.9125 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.2732, allocations: 390.4 kB / 0.9129 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006558/0.2738, allocations: 466.2 kB / 0.9133 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.2739, allocations: 36 kB / 0.9133 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.2743, allocations: 139.8 kB / 0.9135 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.2745, allocations: 211.3 kB / 0.9137 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2746, allocations: 165.3 kB / 0.9138 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.2753, allocations: 0.8029 MB / 0.9146 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.2753, allocations: 7.938 kB / 0.9146 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2753, allocations: 0 / 0.9146 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.2753, allocations: 0 / 0.9146 GB, free: 49.59 MB / 0.6042 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.001509/0.2768, allocations: 0.9776 MB / 0.9156 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.2769, allocations: 8.031 kB / 0.9156 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.277, allocations: 106.4 kB / 0.9157 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/0.2799, allocations: 0.6505 MB / 0.9163 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.2806, allocations: 0.526 MB / 0.9168 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.2807, allocations: 33.31 kB / 0.9169 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-05/0.2808, allocations: 51.95 kB / 0.9169 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.2825, allocations: 1.033 MB / 0.9179 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.2825, allocations: 0 / 0.9179 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.2826, allocations: 20 kB / 0.918 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.2826, allocations: 45.3 kB / 0.918 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.2847, allocations: 1.012 MB / 0.919 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.2883, allocations: 3.513 MB / 0.9224 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.2896, allocations: 0.5213 MB / 0.9229 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.2901, allocations: 244.7 kB / 0.9232 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.2902, allocations: 3.984 kB / 0.9232 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2902, allocations: 38.56 kB / 0.9232 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/0.2902, allocations: 4 kB / 0.9232 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.006715/0.2969, allocations: 2.217 MB / 0.9254 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.297, allocations: 63.36 kB / 0.9254 GB, free: 38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.2976, allocations: 0.5665 MB / 0.926 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.2977, allocations: 33.7 kB / 0.926 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.2979, allocations: 348.2 kB / 0.9263 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.298, allocations: 149.8 kB / 0.9265 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.298, allocations: 12 kB / 0.9265 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.2981, allocations: 378.7 kB / 0.9269 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/0.2987, allocations: 268.9 kB / 0.9271 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/0.2994, allocations: 385.8 kB / 0.9275 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.3001, allocations: 313.4 kB / 0.9278 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3001, allocations: 0 / 0.9278 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002246/0.3024, allocations: 0.9707 MB / 0.9287 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.3025, allocations: 187.2 kB / 0.9289 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3025, allocations: 7.938 kB / 0.9289 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.3036, allocations: 280.8 kB / 0.9292 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.3042, allocations: 127.8 kB / 0.9293 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/0.31, allocations: 8.477 MB / 0.9376 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/0.3108, allocations: 51.95 kB / 0.9376 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.3108, allocations: 19.98 kB / 0.9377 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3109, allocations: 8.062 kB / 0.9377 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002283/0.3131, allocations: 1.073 MB / 0.9387 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3132, allocations: 4 kB / 0.9387 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.3139, allocations: 225.4 kB / 0.9389 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.3145, allocations: 135.8 kB / 0.9391 GB, free: 22.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/0.319, allocations: 8.152 MB / 0.947 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.3198, allocations: 59.89 kB / 0.9471 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3198, allocations: 16 kB / 0.9471 GB, free: 13.96 MB / 0.6042 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.0004038/0.3202, allocations: 314.4 kB / 0.9474 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.3203, allocations: 67.16 kB / 0.9475 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.3205, allocations: 86.36 kB / 0.9475 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3205, allocations: 4 kB / 0.9475 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.3205, allocations: 0 / 0.9475 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3205, allocations: 3.953 kB / 0.9476 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/0.3211, allocations: 0.6534 MB / 0.9482 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3211, allocations: 0 / 0.9482 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.3216, allocations: 99.84 kB / 0.9483 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000898/0.3225, allocations: 261 kB / 0.9485 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.3226, allocations: 11.94 kB / 0.9485 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004759/0.3273, allocations: 8.424 MB / 0.9568 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3274, allocations: 0 / 0.9568 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.3295, allocations: 0.9561 MB / 0.9577 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.3298, allocations: 184.2 kB / 0.9579 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.3299, allocations: 7.953 kB / 0.9579 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.3303, allocations: 55.95 kB / 0.9579 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3305, allocations: 39.88 kB / 0.958 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.3305, allocations: 12 kB / 0.958 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004724/0.331, allocations: 399.1 kB / 0.9584 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.331, allocations: 0 / 0.9584 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001068/0.3321, allocations: 300 kB / 0.9587 GB, free: 1.195 MB / 0.6042 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.002318/0.3344, allocations: 1.513 MB / 0.9601 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004024/0.3385, allocations: 2.415 MB / 0.9625 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.3385, allocations: 4 kB / 0.9625 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.3399, allocations: 1.024 MB / 0.9635 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.3412, allocations: 214.8 kB / 0.9637 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008908/0.3501, allocations: 4.352 MB / 0.968 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/0.3509, allocations: 0.9859 MB / 0.9689 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007168/0.3516, allocations: 141.4 kB / 0.969 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.352, allocations: 243.3 kB / 0.9693 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of SimCode: time 1.553e-06/0.352, allocations: 0 / 0.9693 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.3921, allocations: 18.43 MB / 0.9873 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.3924, allocations: 221 kB / 0.9875 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/3.039, allocations: 0 / 0.9875 GB, free: 3.523 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)