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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 111 kB / 17.33 MB, free: 5.043 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.001549/0.001549, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.364/1.364, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8147/0.8147, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.25 kB / 0.5911 GB, free: 21.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1594, allocations: 83.26 MB / 0.6725 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006262/0.1656, allocations: 4.145 MB / 0.6765 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.1683, allocations: 1.617 MB / 0.6781 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1684, allocations: 12 kB / 0.6781 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.17, allocations: 0.5868 MB / 0.6787 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.1705, allocations: 234.9 kB / 0.6789 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.171, allocations: 215.5 kB / 0.6791 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.1716, allocations: 0.5491 MB / 0.6796 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.1722, allocations: 369.9 kB / 0.68 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.1724, allocations: 235.2 kB / 0.6802 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.1729, allocations: 259.1 kB / 0.6805 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.1729, allocations: 36 kB / 0.6805 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.1733, allocations: 171.6 kB / 0.6806 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1734, allocations: 155.5 kB / 0.6808 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1736, allocations: 199.1 kB / 0.681 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.1743, allocations: 0.5215 MB / 0.6815 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1743, allocations: 0 / 0.6815 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1743, allocations: 4 kB / 0.6815 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1743, allocations: 0 / 0.6815 GB, free: 10.59 MB / 0.5137 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.001184/0.1755, allocations: 0.6859 MB / 0.6822 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1755, allocations: 16.02 kB / 0.6822 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.1762, allocations: 112.5 kB / 0.6823 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.1767, allocations: 307.8 kB / 0.6826 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/0.1768, allocations: 51.25 kB / 0.6826 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.1768, allocations: 36.38 kB / 0.6827 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.1778, allocations: 0.5087 MB / 0.6832 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1778, allocations: 0 / 0.6832 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.1778, allocations: 12 kB / 0.6832 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/0.1779, allocations: 32.98 kB / 0.6832 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.1786, allocations: 383.7 kB / 0.6836 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.1812, allocations: 2.201 MB / 0.6857 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007592/0.182, allocations: 243.5 kB / 0.686 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.1823, allocations: 140.8 kB / 0.6861 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1824, allocations: 11.97 kB / 0.6861 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1824, allocations: 34.56 kB / 0.6861 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/0.1824, allocations: 0 / 0.6861 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001611/0.184, allocations: 0.5735 MB / 0.6867 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1841, allocations: 51.41 kB / 0.6867 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.1843, allocations: 225 kB / 0.687 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.1843, allocations: 29.7 kB / 0.687 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1845, allocations: 216.2 kB / 0.6872 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.1846, allocations: 67.38 kB / 0.6873 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.1847, allocations: 53.69 kB / 0.6873 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.1848, allocations: 334.8 kB / 0.6876 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.185, allocations: 96.8 kB / 0.6877 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.1853, allocations: 195 kB / 0.6879 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.1858, allocations: 275.1 kB / 0.6882 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1858, allocations: 3.938 kB / 0.6882 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009527/0.1868, allocations: 374.8 kB / 0.6885 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1868, allocations: 8.25 kB / 0.6885 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1868, allocations: 8 kB / 0.6885 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/0.1873, allocations: 109.6 kB / 0.6887 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1875, allocations: 47.91 kB / 0.6887 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/0.191, allocations: 3.043 MB / 0.6917 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.1912, allocations: 31.78 kB / 0.6917 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.1913, allocations: 15.98 kB / 0.6917 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003446/0.1916, allocations: 220.1 kB / 0.6919 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002768/0.1919, allocations: 175.1 kB / 0.6921 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004759/0.1924, allocations: 267.3 kB / 0.6923 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.1924, allocations: 4 kB / 0.6923 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007795/0.1931, allocations: 351.7 kB / 0.6927 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1932, allocations: 11.88 kB / 0.6927 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.1932, allocations: 7.984 kB / 0.6927 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.1935, allocations: 80.91 kB / 0.6928 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.1937, allocations: 55.91 kB / 0.6928 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.1958, allocations: 1.622 MB / 0.6944 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.1961, allocations: 27.88 kB / 0.6944 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.1961, allocations: 15.94 kB / 0.6945 GB, free: 12.25 MB / 0.5294 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.0001515/0.1962, allocations: 200.2 kB / 0.6947 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.1963, allocations: 23.86 kB / 0.6947 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.1964, allocations: 26.17 kB / 0.6947 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1964, allocations: 4 kB / 0.6947 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1964, allocations: 0 / 0.6947 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1964, allocations: 3.938 kB / 0.6947 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.1978, allocations: 0.828 MB / 0.6955 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1978, allocations: 0 / 0.6955 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1979, allocations: 27.98 kB / 0.6955 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003906/0.1983, allocations: 105.7 kB / 0.6956 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1983, allocations: 4 kB / 0.6956 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.2014, allocations: 3.031 MB / 0.6986 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2014, allocations: 0 / 0.6986 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.2022, allocations: 419.2 kB / 0.699 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2023, allocations: 116.9 kB / 0.6991 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.2023, allocations: 11.98 kB / 0.6991 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.2025, allocations: 8 kB / 0.6991 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.2026, allocations: 23.91 kB / 0.6992 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.2026, allocations: 8 kB / 0.6992 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001676/0.2028, allocations: 164.5 kB / 0.6993 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2028, allocations: 0 / 0.6993 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006084/0.2034, allocations: 171.5 kB / 0.6995 GB, free: 6.676 MB / 0.5294 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.0001184/0.2035, allocations: 105.9 kB / 0.6996 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.2053, allocations: 0.7443 MB / 0.7003 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2053, allocations: 256 / 0.7003 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.2061, allocations: 369.1 kB / 0.7007 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.2065, allocations: 60.17 kB / 0.7007 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2076, allocations: 0.5863 MB / 0.7013 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.208, allocations: 0.8145 MB / 0.7021 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.2082, allocations: 62.25 kB / 0.7022 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.2083, allocations: 19.44 kB / 0.7022 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2083, allocations: 0 / 0.7022 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of Templates: time 0.009776/0.218, allocations: 4.816 MB / 0.7069 GB, free: 15 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 660] (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) [Timeout 480]