Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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: translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 114.7 kB / 17.09 MB, free: 5.996 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.001021/0.001021, allocations: 194.7 kB / 18.03 MB, free: 5.074 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.405/1.405, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8033/0.8033, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 70.83 kB / 0.5737 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1609, allocations: 78.7 MB / 0.6506 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006733/0.1677, allocations: 4.093 MB / 0.6546 GB, free: 24 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.171, allocations: 1.586 MB / 0.6561 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.1715, allocations: 8 kB / 0.6561 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.1736, allocations: 0.585 MB / 0.6567 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009291/0.1745, allocations: 238.8 kB / 0.6569 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008553/0.1754, allocations: 214.6 kB / 0.6571 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.1765, allocations: 0.549 MB / 0.6577 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1776, allocations: 477.8 kB / 0.6581 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000523/0.1781, allocations: 219.3 kB / 0.6583 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.1787, allocations: 259 kB / 0.6586 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/0.1788, allocations: 36 kB / 0.6586 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.1792, allocations: 171.6 kB / 0.6588 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.1794, allocations: 143.6 kB / 0.6589 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.1797, allocations: 199.1 kB / 0.6591 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008377/0.1805, allocations: 0.5293 MB / 0.6596 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1805, allocations: 0 / 0.6596 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1806, allocations: 0 / 0.6596 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.1806, allocations: 0 / 0.6596 GB, free: 10.84 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001773/0.1824, allocations: 0.6859 MB / 0.6603 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1824, allocations: 19.97 kB / 0.6603 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008671/0.1833, allocations: 104.6 kB / 0.6604 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.1838, allocations: 307.8 kB / 0.6607 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.565e-05/0.1839, allocations: 55.25 kB / 0.6608 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.184, allocations: 36.38 kB / 0.6608 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.1849, allocations: 0.5048 MB / 0.6613 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1849, allocations: 0 / 0.6613 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.1849, allocations: 12 kB / 0.6613 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.185, allocations: 32.98 kB / 0.6613 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.1858, allocations: 379.7 kB / 0.6617 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.1886, allocations: 2.204 MB / 0.6639 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.1893, allocations: 270.6 kB / 0.6641 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.1897, allocations: 148.8 kB / 0.6643 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1897, allocations: 0 / 0.6643 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1897, allocations: 34.56 kB / 0.6643 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.512e-06/0.1898, allocations: 4 kB / 0.6643 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001523/0.1913, allocations: 0.5767 MB / 0.6649 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1913, allocations: 51.41 kB / 0.6649 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1916, allocations: 225 kB / 0.6651 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1916, allocations: 25.7 kB / 0.6651 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.1918, allocations: 216.2 kB / 0.6653 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.1919, allocations: 67.38 kB / 0.6654 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.881e-05/0.192, allocations: 61.66 kB / 0.6655 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1922, allocations: 334.8 kB / 0.6658 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1924, allocations: 92.8 kB / 0.6659 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.1927, allocations: 187 kB / 0.6661 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.1932, allocations: 272 kB / 0.6663 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1932, allocations: 0 / 0.6663 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000863/0.1941, allocations: 375.1 kB / 0.6667 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1941, allocations: 12 kB / 0.6667 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1941, allocations: 0 / 0.6667 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.1946, allocations: 117.5 kB / 0.6668 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.1949, allocations: 59.84 kB / 0.6669 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.1983, allocations: 3.034 MB / 0.6698 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.1986, allocations: 39.75 kB / 0.6699 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1986, allocations: 12 kB / 0.6699 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003451/0.199, allocations: 231.6 kB / 0.6701 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000264/0.1992, allocations: 176 kB / 0.6703 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004658/0.1997, allocations: 270.8 kB / 0.6705 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.1997, allocations: 0 / 0.6705 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008902/0.2006, allocations: 352.2 kB / 0.6708 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2007, allocations: 11.94 kB / 0.6709 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.2007, allocations: 3.984 kB / 0.6709 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.201, allocations: 88.94 kB / 0.6709 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.2012, allocations: 47.97 kB / 0.671 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.2032, allocations: 1.615 MB / 0.6726 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.2034, allocations: 35.81 kB / 0.6726 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.2034, allocations: 8 kB / 0.6726 GB, free: 12.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.2037, allocations: 204.1 kB / 0.6728 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.2037, allocations: 23.86 kB / 0.6728 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.2038, allocations: 26.33 kB / 0.6729 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2038, allocations: 11.97 kB / 0.6729 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2038, allocations: 0 / 0.6729 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.2041, allocations: 112.9 kB / 0.673 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.2041, allocations: 4 kB / 0.673 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2043, allocations: 11.98 kB / 0.673 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.2043, allocations: 23.97 kB / 0.673 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008135/0.2052, allocations: 362.4 kB / 0.6734 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006853/0.2059, allocations: 499.9 kB / 0.6738 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001894/0.2061, allocations: 90.86 kB / 0.6739 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000155/0.2062, allocations: 164.5 kB / 0.6741 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of Backend: time 4.41e-07/0.2062, allocations: 0 / 0.6741 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002441/0.2087, allocations: 0.8425 MB / 0.6749 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001554/0.2103, allocations: 1.034 MB / 0.6759 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of Templates: time 0.01145/0.2217, allocations: 5.678 MB / 0.6815 GB, free: 3.312 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)