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.001186/0.001186, allocations: 101.3 kB / 16.4 MB, free: 6.484 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.001208/0.001208, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7036/0.7036, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 64.41 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 76.19 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.007235/0.1423, allocations: 6.257 MB / 0.6377 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006082/0.1484, allocations: 4.538 MB / 0.6421 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.149, allocations: 23.88 kB / 0.6421 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.1514, allocations: 0.9258 MB / 0.643 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.1533, allocations: 0.7705 MB / 0.6438 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.1541, allocations: 331.4 kB / 0.6441 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.1558, allocations: 1.129 MB / 0.6452 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.1568, allocations: 0.681 MB / 0.6459 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007198/0.1575, allocations: 482.4 kB / 0.6463 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008285/0.1584, allocations: 498 kB / 0.6468 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.1585, allocations: 72 kB / 0.6469 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006207/0.1591, allocations: 287.5 kB / 0.6472 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.1594, allocations: 251.2 kB / 0.6474 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.16, allocations: 410 kB / 0.6478 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.1613, allocations: 1.072 MB / 0.6488 GB, free: 3.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1613, allocations: 4 kB / 0.6488 GB, free: 3.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1613, allocations: 0 / 0.6488 GB, free: 3.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.968e-05/0.1613, allocations: 0 / 0.6488 GB, free: 3.16 MB / 494.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.002046/0.1634, allocations: 1.087 MB / 0.6499 GB, free: 2.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1634, allocations: 12.03 kB / 0.6499 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.1636, allocations: 106.6 kB / 0.65 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.1667, allocations: 0.632 MB / 0.6506 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009704/0.1677, allocations: 0.5735 MB / 0.6512 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.1678, allocations: 45.67 kB / 0.6512 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.1679, allocations: 55.92 kB / 0.6513 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.1697, allocations: 1.018 MB / 0.6523 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1698, allocations: 0 / 0.6523 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/0.1698, allocations: 27.98 kB / 0.6523 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.1699, allocations: 49.28 kB / 0.6524 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.1722, allocations: 1.004 MB / 0.6533 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.1763, allocations: 3.478 MB / 0.6567 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.1778, allocations: 494.3 kB / 0.6572 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.1784, allocations: 228.7 kB / 0.6574 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.1784, allocations: 19.92 kB / 0.6574 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1785, allocations: 30.56 kB / 0.6575 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.1785, allocations: 0 / 0.6575 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006687/0.1852, allocations: 2.021 MB / 0.6594 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1852, allocations: 63.41 kB / 0.6595 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.1859, allocations: 0.5627 MB / 0.6601 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.186, allocations: 29.7 kB / 0.6601 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.1862, allocations: 356.2 kB / 0.6604 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.1864, allocations: 153.8 kB / 0.6606 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.1865, allocations: 86.16 kB / 0.6607 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1867, allocations: 378.7 kB / 0.661 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/0.1874, allocations: 258.9 kB / 0.6613 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007693/0.1882, allocations: 361.8 kB / 0.6616 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.1896, allocations: 0.6187 MB / 0.6622 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1897, allocations: 0 / 0.6622 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002366/0.192, allocations: 0.9426 MB / 0.6631 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1921, allocations: 4 kB / 0.6631 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1921, allocations: 4 kB / 0.6631 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.1932, allocations: 273.2 kB / 0.6634 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.1938, allocations: 123.8 kB / 0.6635 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00733/0.2012, allocations: 9.109 MB / 0.6724 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.2019, allocations: 39.95 kB / 0.6724 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.2019, allocations: 23.94 kB / 0.6725 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008957/0.2028, allocations: 440.6 kB / 0.6729 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007146/0.2036, allocations: 357.4 kB / 0.6732 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001344/0.2049, allocations: 0.609 MB / 0.6738 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.138e-06/0.2049, allocations: 0 / 0.6738 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002407/0.2074, allocations: 1.117 MB / 0.6749 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2074, allocations: 11.94 kB / 0.6749 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2074, allocations: 4 kB / 0.6749 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008025/0.2082, allocations: 225 kB / 0.6751 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.2088, allocations: 123.8 kB / 0.6753 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006291/0.2151, allocations: 8.791 MB / 0.6839 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.2158, allocations: 43.89 kB / 0.6839 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.2159, allocations: 28.05 kB / 0.6839 GB, free: 12.67 MB / 0.5294 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 (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.0001964/0.2161, allocations: 216 kB / 0.6841 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.2162, allocations: 67.25 kB / 0.6842 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.2164, allocations: 74.38 kB / 0.6843 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2164, allocations: 4 kB / 0.6843 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2164, allocations: 0 / 0.6843 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2164, allocations: 7.984 kB / 0.6843 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008209/0.2173, allocations: 0.6493 MB / 0.6849 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2173, allocations: 0 / 0.6849 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.2178, allocations: 87.91 kB / 0.685 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009564/0.2188, allocations: 260.8 kB / 0.6852 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.2188, allocations: 4.047 kB / 0.6852 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006492/0.2253, allocations: 9.066 MB / 0.6941 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2254, allocations: 3.984 kB / 0.6941 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.2276, allocations: 0.9208 MB / 0.695 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.228, allocations: 184.2 kB / 0.6952 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.2281, allocations: 8 kB / 0.6952 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.2287, allocations: 39.95 kB / 0.6952 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.2288, allocations: 39.94 kB / 0.6953 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.2288, allocations: 12 kB / 0.6953 GB, free: 76 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005015/0.2293, allocations: 403.1 kB / 0.6957 GB, free: 15.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2294, allocations: 0 / 0.6957 GB, free: 15.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001178/0.2305, allocations: 300 kB / 0.6959 GB, free: 15.39 MB / 0.545 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 (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.002446/0.233, allocations: 1.474 MB / 0.6974 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003951/0.237, allocations: 2.353 MB / 0.6997 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.237, allocations: 0 / 0.6997 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.2384, allocations: 1.011 MB / 0.7007 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.2395, allocations: 236.2 kB / 0.7009 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.2503, allocations: 6.158 MB / 0.7069 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.251, allocations: 0.9857 MB / 0.7079 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005636/0.2516, allocations: 157.3 kB / 0.708 GB, free: 2.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.2519, allocations: 239.4 kB / 0.7082 GB, free: 2.301 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2519, allocations: 0 / 0.7082 GB, free: 2.301 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05508/0.307, allocations: 20.16 MB / 0.7279 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.58, allocations: 19.75 kB / 0.728 GB, free: 14.39 MB / 0.5762 GB (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)