Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009284/0.0009285, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005325/0.005325, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001693/0.001693, allocations: 270.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9337/0.9337, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004914, allocations: 12.47 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004272/0.158, allocations: 3.736 MB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1604, allocations: 1.574 MB / 0.6903 GB, free: 9.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.1605, allocations: 7.938 kB / 0.6903 GB, free: 9.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.1607, allocations: 63.44 kB / 0.6904 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.1612, allocations: 215.1 kB / 0.6906 GB, free: 9.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.1616, allocations: 201.6 kB / 0.6908 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006743/0.1623, allocations: 0.7715 MB / 0.6915 GB, free: 8.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.1628, allocations: 455.4 kB / 0.692 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.163, allocations: 183.3 kB / 0.6921 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.1634, allocations: 239.1 kB / 0.6924 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.1635, allocations: 20 kB / 0.6924 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.1638, allocations: 183.6 kB / 0.6926 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.1639, allocations: 139.6 kB / 0.6927 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1642, allocations: 188.8 kB / 0.6929 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.1647, allocations: 0.5139 MB / 0.6934 GB, free: 6.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1647, allocations: 0 / 0.6934 GB, free: 6.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1648, allocations: 4 kB / 0.6934 GB, free: 6.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1648, allocations: 0 / 0.6934 GB, free: 6.551 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001152/0.1659, allocations: 0.6203 MB / 0.694 GB, free: 5.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.166, allocations: 8.031 kB / 0.694 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007562/0.1667, allocations: 104.4 kB / 0.6941 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.1672, allocations: 303.6 kB / 0.6944 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/0.1673, allocations: 51.27 kB / 0.6944 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.1673, allocations: 40.36 kB / 0.6945 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/0.1682, allocations: 0.5125 MB / 0.695 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1682, allocations: 0 / 0.695 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.1682, allocations: 23.98 kB / 0.695 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.1683, allocations: 28.98 kB / 0.695 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006862/0.169, allocations: 383.7 kB / 0.6954 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.1713, allocations: 2.227 MB / 0.6976 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.1719, allocations: 270.6 kB / 0.6978 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.1723, allocations: 158.8 kB / 0.698 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1724, allocations: 0 / 0.698 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1724, allocations: 42.56 kB / 0.698 GB, free: 1.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 1.122e-06/0.1724, allocations: 0 / 0.698 GB, free: 1.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001492/0.1739, allocations: 0.583 MB / 0.6986 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.1739, allocations: 51.41 kB / 0.6986 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.1742, allocations: 232.9 kB / 0.6988 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1742, allocations: 29.7 kB / 0.6989 GB, free: 488 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1743, allocations: 211.7 kB / 0.6991 GB, free: 272 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.1744, allocations: 70.98 kB / 0.6991 GB, free: 200 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.1744, allocations: 25.72 kB / 0.6992 GB, free: 168 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1745, allocations: 334.8 kB / 0.6995 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.1748, allocations: 91.94 kB / 0.6996 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.175, allocations: 188.3 kB / 0.6998 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.1755, allocations: 287.1 kB / 0.7 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1755, allocations: 0 / 0.7 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008785/0.1764, allocations: 384.5 kB / 0.7004 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.581e-05/0.1765, allocations: 169.6 kB / 0.7006 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1765, allocations: 4 kB / 0.7006 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.177, allocations: 109.6 kB / 0.7007 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.1773, allocations: 51.91 kB / 0.7007 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.1801, allocations: 2.832 MB / 0.7035 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.1804, allocations: 31.73 kB / 0.7035 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.1804, allocations: 19.94 kB / 0.7035 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.1804, allocations: 1.875 kB / 0.7035 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007341/0.1811, allocations: 322.3 kB / 0.7038 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1812, allocations: 4 kB / 0.7038 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.1814, allocations: 72.86 kB / 0.7039 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.1817, allocations: 59.91 kB / 0.704 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.1835, allocations: 1.495 MB / 0.7054 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1837, allocations: 39.73 kB / 0.7055 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1837, allocations: 8 kB / 0.7055 GB, free: 9.164 MB / 0.4981 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.0002017/0.1839, allocations: 253.7 kB / 0.7057 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.184, allocations: 15.81 kB / 0.7057 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.1841, allocations: 30.19 kB / 0.7058 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1841, allocations: 4.078 kB / 0.7058 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1841, allocations: 3.984 kB / 0.7058 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1841, allocations: 11.98 kB / 0.7058 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.1854, allocations: 0.8326 MB / 0.7066 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1854, allocations: 0 / 0.7066 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.1856, allocations: 35.92 kB / 0.7066 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003708/0.1859, allocations: 105.6 kB / 0.7067 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.186, allocations: 15.94 kB / 0.7067 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.1886, allocations: 2.803 MB / 0.7095 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1886, allocations: 4.031 kB / 0.7095 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.1894, allocations: 430.4 kB / 0.7099 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.1895, allocations: 108.8 kB / 0.71 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.1896, allocations: 15.98 kB / 0.71 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.1897, allocations: 12 kB / 0.71 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.1898, allocations: 19.91 kB / 0.71 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1898, allocations: 8 kB / 0.7101 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001404/0.19, allocations: 164.5 kB / 0.7102 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.19, allocations: 0 / 0.7102 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005917/0.1906, allocations: 171.3 kB / 0.7104 GB, free: 3.734 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001119/0.1907, allocations: 103.9 kB / 0.7105 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.1925, allocations: 0.7693 MB / 0.7112 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1926, allocations: 4 kB / 0.7112 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007634/0.1933, allocations: 369.8 kB / 0.7116 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.1938, allocations: 48.64 kB / 0.7116 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/0.1948, allocations: 0.7386 MB / 0.7123 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1951, allocations: 0.8146 MB / 0.7131 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.1953, allocations: 50.25 kB / 0.7132 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.1954, allocations: 23.44 kB / 0.7132 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1954, allocations: 0 / 0.7132 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of Templates: time 0.007844/0.2032, allocations: 4.258 MB / 0.7174 GB, free: 12.48 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)