Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, 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.001434/0.001434, 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.405/1.405, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8305/0.8305, allocations: 128.4 MB / 426.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 68.8 kB / 0.5911 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 83.26 MB / 0.6724 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.005472/0.1702, allocations: 3.241 MB / 0.6756 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1727, allocations: 1.387 MB / 0.677 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.1728, allocations: 7.938 kB / 0.677 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.1739, allocations: 338.7 kB / 0.6773 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.1743, allocations: 151.2 kB / 0.6774 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.1747, allocations: 155.5 kB / 0.6776 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.1752, allocations: 323 kB / 0.6779 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.1756, allocations: 203.6 kB / 0.6781 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.1759, allocations: 139.5 kB / 0.6782 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.1762, allocations: 159.4 kB / 0.6784 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.1763, allocations: 20 kB / 0.6784 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.1766, allocations: 171.6 kB / 0.6786 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1767, allocations: 87.72 kB / 0.6786 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1769, allocations: 127.3 kB / 0.6788 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.1774, allocations: 354.7 kB / 0.6791 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1774, allocations: 4 kB / 0.6791 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1774, allocations: 0 / 0.6791 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.1774, allocations: 0 / 0.6791 GB, free: 13.08 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00101/0.1784, allocations: 0.5531 MB / 0.6796 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1784, allocations: 11.97 kB / 0.6797 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005846/0.179, allocations: 80.72 kB / 0.6797 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.1793, allocations: 248 kB / 0.68 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1794, allocations: 16.8 kB / 0.68 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.1794, allocations: 24.36 kB / 0.68 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.1799, allocations: 320.6 kB / 0.6803 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.18, allocations: 0 / 0.6803 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.18, allocations: 8 kB / 0.6803 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.18, allocations: 16.44 kB / 0.6803 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.1804, allocations: 213.5 kB / 0.6805 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.1822, allocations: 1.498 MB / 0.682 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.1826, allocations: 191.6 kB / 0.6822 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.1827, allocations: 44.84 kB / 0.6822 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.1828, allocations: 4 kB / 0.6822 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1828, allocations: 34.55 kB / 0.6823 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1828, allocations: 0 / 0.6823 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0005902/0.1834, allocations: 267.4 kB / 0.6825 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1834, allocations: 51.41 kB / 0.6826 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.1837, allocations: 211.7 kB / 0.6828 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1837, allocations: 25.7 kB / 0.6828 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1838, allocations: 176 kB / 0.683 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1839, allocations: 31.73 kB / 0.683 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.1839, allocations: 33.72 kB / 0.683 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.1841, allocations: 334.8 kB / 0.6834 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.1842, allocations: 43.98 kB / 0.6834 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.1844, allocations: 115.2 kB / 0.6835 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.1846, allocations: 172.4 kB / 0.6837 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1846, allocations: 0 / 0.6837 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000383/0.185, allocations: 210.1 kB / 0.6839 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.185, allocations: 4 kB / 0.6839 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.185, allocations: 4 kB / 0.6839 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.1852, allocations: 33.12 kB / 0.6839 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1853, allocations: 39.8 kB / 0.6839 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.1867, allocations: 1.43 MB / 0.6853 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1868, allocations: 23.81 kB / 0.6854 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1868, allocations: 8 kB / 0.6854 GB, free: 6.062 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.1871, allocations: 154.3 kB / 0.6855 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.1871, allocations: 19.91 kB / 0.6855 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.1871, allocations: 17.41 kB / 0.6856 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.1871, allocations: 3.984 kB / 0.6856 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1871, allocations: 0 / 0.6856 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1871, allocations: 4 kB / 0.6856 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.1879, allocations: 483.2 kB / 0.686 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1879, allocations: 0 / 0.686 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.1879, allocations: 15.92 kB / 0.686 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.449e-05/0.188, allocations: 28.91 kB / 0.6861 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.188, allocations: 8 kB / 0.6861 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.1892, allocations: 1.421 MB / 0.6875 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1892, allocations: 0 / 0.6875 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.1895, allocations: 236.3 kB / 0.6877 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.1896, allocations: 104.9 kB / 0.6878 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1896, allocations: 0 / 0.6878 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1898, allocations: 8 kB / 0.6878 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.1898, allocations: 11.92 kB / 0.6878 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1898, allocations: 0 / 0.6878 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001391/0.19, allocations: 149.5 kB / 0.6879 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.19, allocations: 0 / 0.6879 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003418/0.1903, allocations: 63.78 kB / 0.688 GB, free: 3.121 MB / 0.5137 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000144/0.1905, allocations: 95.25 kB / 0.6881 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004863/0.1909, allocations: 230.6 kB / 0.6883 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1909, allocations: 192 / 0.6883 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.1912, allocations: 159.2 kB / 0.6885 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1915, allocations: 36.62 kB / 0.6885 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007487/0.1923, allocations: 399.3 kB / 0.6889 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.1927, allocations: 0.7554 MB / 0.6896 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.1928, allocations: 33.52 kB / 0.6897 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1928, allocations: 15.44 kB / 0.6897 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1928, allocations: 3.938 kB / 0.6897 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.005406/0.1982, allocations: 1.994 MB / 0.6916 GB, free: 15.35 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480]