Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.000947, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000596/0.000596, allocations: 15.25 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2785, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007622/0.2862, allocations: 5.55 MB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00675/0.293, allocations: 4.249 MB / 0.797 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000636/0.2937, allocations: 19.88 kB / 0.797 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.2942, allocations: 138.9 kB / 0.7971 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.296, allocations: 0.632 MB / 0.7977 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.2967, allocations: 237 kB / 0.798 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.2981, allocations: 1.199 MB / 0.7991 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.2988, allocations: 488.2 kB / 0.7996 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.2993, allocations: 378.5 kB / 0.8 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006828/0.3, allocations: 466.2 kB / 0.8004 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.3001, allocations: 36 kB / 0.8004 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.3005, allocations: 147.8 kB / 0.8006 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.3007, allocations: 207.3 kB / 0.8008 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.3009, allocations: 169.3 kB / 0.8009 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007686/0.3016, allocations: 0.8106 MB / 0.8017 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3016, allocations: 0 / 0.8017 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3017, allocations: 0 / 0.8017 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.3017, allocations: 4 kB / 0.8017 GB, free: 13.08 MB / 0.6231 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.001624/0.3033, allocations: 0.9698 MB / 0.8027 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3033, allocations: 8.031 kB / 0.8027 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.3035, allocations: 102.5 kB / 0.8028 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002929/0.3064, allocations: 0.6506 MB / 0.8034 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007735/0.3072, allocations: 0.522 MB / 0.8039 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.3072, allocations: 37.31 kB / 0.804 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.991e-05/0.3073, allocations: 52 kB / 0.804 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.3092, allocations: 1.022 MB / 0.805 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3093, allocations: 7.938 kB / 0.805 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/0.3094, allocations: 24 kB / 0.8051 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.96e-05/0.3094, allocations: 45.28 kB / 0.8051 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.3116, allocations: 1.02 MB / 0.8061 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004049/0.3157, allocations: 3.513 MB / 0.8095 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.317, allocations: 0.521 MB / 0.81 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.3176, allocations: 244.7 kB / 0.8103 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.3176, allocations: 4.531 kB / 0.8103 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3176, allocations: 34.56 kB / 0.8103 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.3177, allocations: 0 / 0.8103 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.006313/0.324, allocations: 2.224 MB / 0.8125 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.324, allocations: 55.41 kB / 0.8125 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.3247, allocations: 0.5664 MB / 0.8131 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.3247, allocations: 41.7 kB / 0.8131 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.325, allocations: 356.2 kB / 0.8135 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3251, allocations: 149.8 kB / 0.8136 GB, free: 392 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.3251, allocations: 12 kB / 0.8136 GB, free: 380 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3253, allocations: 366.8 kB / 0.814 GB, free: 4 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/0.3259, allocations: 273 kB / 0.8142 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.3266, allocations: 397.7 kB / 0.8146 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.3273, allocations: 301.7 kB / 0.8149 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3273, allocations: 4 kB / 0.8149 GB, free: 15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002251/0.3296, allocations: 0.9743 MB / 0.8158 GB, free: 14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.3297, allocations: 180.4 kB / 0.816 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3297, allocations: 8 kB / 0.816 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.3308, allocations: 276.9 kB / 0.8163 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.3314, allocations: 131.8 kB / 0.8164 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/0.3388, allocations: 8.48 MB / 0.8247 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/0.3395, allocations: 51.95 kB / 0.8247 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.3396, allocations: 16 kB / 0.8248 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.3396, allocations: 7.938 kB / 0.8248 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002436/0.3421, allocations: 1.078 MB / 0.8258 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3421, allocations: 4 kB / 0.8258 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007838/0.3429, allocations: 221.2 kB / 0.826 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/0.3435, allocations: 131.8 kB / 0.8262 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/0.3505, allocations: 8.157 MB / 0.8341 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007065/0.3512, allocations: 51.95 kB / 0.8342 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.3513, allocations: 23.94 kB / 0.8342 GB, free: 9.465 MB / 0.6544 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.000557/0.3519, allocations: 313 kB / 0.8345 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.3521, allocations: 71.23 kB / 0.8346 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.3523, allocations: 78.38 kB / 0.8346 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3523, allocations: 4 kB / 0.8346 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.3523, allocations: 0 / 0.8346 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3523, allocations: 3.984 kB / 0.8346 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009804/0.3533, allocations: 0.6533 MB / 0.8353 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3533, allocations: 0 / 0.8353 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.3538, allocations: 99.91 kB / 0.8354 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009721/0.3548, allocations: 260.8 kB / 0.8356 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.3549, allocations: 11.98 kB / 0.8356 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007059/0.3619, allocations: 8.408 MB / 0.8439 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.362, allocations: 0 / 0.8439 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.3643, allocations: 0.9639 MB / 0.8448 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.3646, allocations: 180.3 kB / 0.845 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.3648, allocations: 7.953 kB / 0.845 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.3653, allocations: 56.12 kB / 0.845 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3654, allocations: 47.83 kB / 0.8451 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.3655, allocations: 15.98 kB / 0.8451 GB, free: 13.38 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000525/0.366, allocations: 395.1 kB / 0.8455 GB, free: 13 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.366, allocations: 0 / 0.8455 GB, free: 13 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001322/0.3673, allocations: 300 kB / 0.8457 GB, free: 12.71 MB / 0.67 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.002469/0.3698, allocations: 1.509 MB / 0.8472 GB, free: 11.15 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004364/0.3742, allocations: 2.419 MB / 0.8496 GB, free: 8.574 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3742, allocations: 8.062 kB / 0.8496 GB, free: 8.566 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.3757, allocations: 1.031 MB / 0.8506 GB, free: 7.457 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3769, allocations: 213.9 kB / 0.8508 GB, free: 7.246 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00871/0.3856, allocations: 4.349 MB / 0.8551 GB, free: 2.789 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.3863, allocations: 0.9821 MB / 0.856 GB, free: 1.781 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006845/0.387, allocations: 149.4 kB / 0.8562 GB, free: 1.633 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.3874, allocations: 239.4 kB / 0.8564 GB, free: 1.398 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.3874, allocations: 0 / 0.8564 GB, free: 1.398 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.4282, allocations: 18.41 MB / 0.8744 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.4284, allocations: 207.2 kB / 0.8746 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.829, allocations: 3.938 kB / 0.8746 GB, free: 15.05 MB / 0.7012 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) Environment - environmentSimulation: