Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_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.004236/0.004236, allocations: 101.7 kB / 15.88 MB, free: 6.32 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.001027/0.001027, allocations: 198.3 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6221/0.6221, allocations: 115.3 MB / 406 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.97 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1249, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.007895/0.1328, allocations: 6.272 MB / 0.562 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00623/0.139, allocations: 4.53 MB / 0.5664 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006469/0.1397, allocations: 23.88 kB / 0.5664 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.1419, allocations: 0.8555 MB / 0.5673 GB, free: 15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.1436, allocations: 0.707 MB / 0.5679 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.1442, allocations: 295.6 kB / 0.5682 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.1458, allocations: 1.433 MB / 0.5696 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006485/0.1464, allocations: 489.5 kB / 0.5701 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006071/0.147, allocations: 414.4 kB / 0.5705 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007092/0.1478, allocations: 0.498 MB / 0.571 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.1479, allocations: 44 kB / 0.571 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.1484, allocations: 315.4 kB / 0.5713 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.1487, allocations: 227.2 kB / 0.5715 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.1491, allocations: 382 kB / 0.5719 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1501, allocations: 1.055 MB / 0.5729 GB, free: 9.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1501, allocations: 3.938 kB / 0.5729 GB, free: 9.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1501, allocations: 3.938 kB / 0.5729 GB, free: 9.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.1502, allocations: 0 / 0.5729 GB, free: 9.164 MB / 446.1 MB 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.001839/0.152, allocations: 1.094 MB / 0.574 GB, free: 8.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.152, allocations: 8.031 kB / 0.574 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.1522, allocations: 106.7 kB / 0.5741 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.1551, allocations: 0.6242 MB / 0.5747 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000727/0.1558, allocations: 0.5463 MB / 0.5753 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.1559, allocations: 41.67 kB / 0.5753 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.156, allocations: 55.92 kB / 0.5753 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.1579, allocations: 1.018 MB / 0.5763 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1579, allocations: 0 / 0.5763 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.158, allocations: 27.98 kB / 0.5764 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.1581, allocations: 41.3 kB / 0.5764 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.1602, allocations: 1.004 MB / 0.5774 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.164, allocations: 3.494 MB / 0.5808 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.1653, allocations: 496.4 kB / 0.5813 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1944/0.3598, allocations: 222.8 kB / 0.5815 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.3598, allocations: 8.344 kB / 0.5815 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3598, allocations: 42.67 kB / 0.5815 GB, free: 32.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.165e-06/0.3599, allocations: 0.5625 kB / 0.5815 GB, free: 32.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006191/0.3661, allocations: 2.013 MB / 0.5835 GB, free: 32.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.3661, allocations: 57 kB / 0.5836 GB, free: 32.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.3667, allocations: 0.5678 MB / 0.5841 GB, free: 32.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.3667, allocations: 37.02 kB / 0.5841 GB, free: 32.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.3669, allocations: 360.9 kB / 0.5845 GB, free: 31.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.665e-05/0.367, allocations: 149.2 kB / 0.5846 GB, free: 31.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3672, allocations: 91.36 kB / 0.5847 GB, free: 31.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.3672, allocations: 369.9 kB / 0.5851 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/0.3679, allocations: 263.2 kB / 0.5853 GB, free: 31.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.3685, allocations: 365.9 kB / 0.5857 GB, free: 31.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.3697, allocations: 0.6179 MB / 0.5863 GB, free: 30.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3697, allocations: 1.406 kB / 0.5863 GB, free: 30.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002112/0.3719, allocations: 0.9299 MB / 0.5872 GB, free: 30.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3719, allocations: 6.25 kB / 0.5872 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3719, allocations: 13.8 kB / 0.5872 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.3729, allocations: 276 kB / 0.5875 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.3735, allocations: 119.2 kB / 0.5876 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/0.3784, allocations: 8.439 MB / 0.5958 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.379, allocations: 42.44 kB / 0.5959 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.379, allocations: 23.69 kB / 0.5959 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008131/0.3798, allocations: 436.5 kB / 0.5963 GB, free: 22.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00067/0.3805, allocations: 357.2 kB / 0.5966 GB, free: 21.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001197/0.3817, allocations: 0.6119 MB / 0.5972 GB, free: 21.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.3817, allocations: 1.188 kB / 0.5972 GB, free: 21.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002244/0.384, allocations: 1.123 MB / 0.5983 GB, free: 21.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.384, allocations: 10.28 kB / 0.5983 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.384, allocations: 4.562 kB / 0.5984 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007346/0.3848, allocations: 221.4 kB / 0.5986 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.3853, allocations: 119.3 kB / 0.5987 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004161/0.3895, allocations: 8.168 MB / 0.6067 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.39, allocations: 45.52 kB / 0.6067 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.3901, allocations: 19.62 kB / 0.6067 GB, free: 12.84 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.3902, allocations: 210.5 kB / 0.6069 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3904, allocations: 73.12 kB / 0.607 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.3905, allocations: 80.66 kB / 0.6071 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3905, allocations: 8.719 kB / 0.6071 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.3905, allocations: 1.312 kB / 0.6071 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3905, allocations: 2.156 kB / 0.6071 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.3913, allocations: 0.6434 MB / 0.6077 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3913, allocations: 0 / 0.6077 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/0.3918, allocations: 90.48 kB / 0.6078 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008978/0.3927, allocations: 252.1 kB / 0.608 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.3928, allocations: 11.7 kB / 0.608 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/0.3975, allocations: 8.408 MB / 0.6162 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3975, allocations: 0 / 0.6162 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.3995, allocations: 0.9175 MB / 0.6171 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.3997, allocations: 187.2 kB / 0.6173 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/0.3998, allocations: 7.594 kB / 0.6173 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.4002, allocations: 44.14 kB / 0.6174 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.4004, allocations: 34.39 kB / 0.6174 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.4004, allocations: 14.7 kB / 0.6174 GB, free: 3.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000418/0.4008, allocations: 407 kB / 0.6178 GB, free: 3.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4008, allocations: 0 / 0.6178 GB, free: 3.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001028/0.4019, allocations: 301.4 kB / 0.6181 GB, free: 3.125 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/0.4039, allocations: 1.467 MB / 0.6195 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003159/0.4071, allocations: 2.336 MB / 0.6218 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4071, allocations: 0 / 0.6218 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.4083, allocations: 1.009 MB / 0.6228 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00091/0.4092, allocations: 218.7 kB / 0.623 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.4194, allocations: 6.624 MB / 0.6295 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.42, allocations: 0.9818 MB / 0.6304 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006301/0.4206, allocations: 157.1 kB / 0.6306 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.4209, allocations: 232.4 kB / 0.6308 GB, free: 10.62 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4209, allocations: 1.375 kB / 0.6308 GB, free: 10.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.4539, allocations: 18.76 MB / 0.6491 GB, free: 11.86 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.4541, allocations: 226.2 kB / 0.6493 GB, free: 11.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/2.536, allocations: 4 kB / 0.6493 GB, free: 11.59 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)