Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.00106, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 175.1 kB / 16.57 MB, free: 6.398 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.421/1.421, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6913/0.6913, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 8 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1538, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.00434/0.1582, allocations: 3.27 MB / 0.56 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.1611, allocations: 1.649 MB / 0.5616 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.1613, allocations: 4 kB / 0.5616 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.1615, allocations: 55.61 kB / 0.5617 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.162, allocations: 163.4 kB / 0.5619 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.1626, allocations: 191.2 kB / 0.562 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.163, allocations: 291.4 kB / 0.5623 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.1634, allocations: 336.3 kB / 0.5626 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1636, allocations: 135.5 kB / 0.5628 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.1639, allocations: 151.4 kB / 0.5629 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.164, allocations: 16 kB / 0.5629 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.1642, allocations: 87.81 kB / 0.563 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1644, allocations: 103.7 kB / 0.5631 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.1645, allocations: 85.52 kB / 0.5632 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.1648, allocations: 359.4 kB / 0.5635 GB, free: 4.727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1649, allocations: 0 / 0.5635 GB, free: 4.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1649, allocations: 4 kB / 0.5635 GB, free: 4.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1649, allocations: 0 / 0.5635 GB, free: 4.723 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001062/0.1659, allocations: 0.6196 MB / 0.5641 GB, free: 4.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.166, allocations: 12.02 kB / 0.5642 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005593/0.1666, allocations: 87.47 kB / 0.5642 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.167, allocations: 287 kB / 0.5645 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.167, allocations: 24.66 kB / 0.5645 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.1671, allocations: 31.98 kB / 0.5646 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008284/0.1679, allocations: 485.8 kB / 0.565 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.1679, allocations: 7.938 kB / 0.565 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.168, allocations: 16 kB / 0.565 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/0.1681, allocations: 36.64 kB / 0.5651 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007844/0.1688, allocations: 386.2 kB / 0.5655 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.1714, allocations: 2.045 MB / 0.5674 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/0.172, allocations: 230.6 kB / 0.5677 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.172, allocations: 4 kB / 0.5677 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1721, allocations: 30.56 kB / 0.5677 GB, free: 116 kB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 2.234e-06/0.1721, allocations: 3.938 kB / 0.5677 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.001122/0.1732, allocations: 477.8 kB / 0.5682 GB, free: 15.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1733, allocations: 55.41 kB / 0.5682 GB, free: 15.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1735, allocations: 258.7 kB / 0.5685 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1735, allocations: 29.7 kB / 0.5685 GB, free: 15.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1737, allocations: 207.7 kB / 0.5687 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.1737, allocations: 75.08 kB / 0.5688 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.1738, allocations: 4 kB / 0.5688 GB, free: 14.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1739, allocations: 330.8 kB / 0.5691 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1741, allocations: 100.5 kB / 0.5692 GB, free: 14.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.1745, allocations: 222.6 kB / 0.5694 GB, free: 14.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.1748, allocations: 133.5 kB / 0.5695 GB, free: 14.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1748, allocations: 4 kB / 0.5695 GB, free: 14.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007627/0.1755, allocations: 387.9 kB / 0.5699 GB, free: 13.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005626/0.1761, allocations: 1.308 MB / 0.5712 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1761, allocations: 0 / 0.5712 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.1764, allocations: 40.8 kB / 0.5712 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.1767, allocations: 75.89 kB / 0.5713 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.178, allocations: 1.335 MB / 0.5726 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.1783, allocations: 51.83 kB / 0.5726 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1783, allocations: 12 kB / 0.5726 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.1783, allocations: 4 kB / 0.5726 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006243/0.179, allocations: 307.5 kB / 0.5729 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.179, allocations: 4.438 kB / 0.5729 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.179, allocations: 8 kB / 0.5729 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.1793, allocations: 75.89 kB / 0.573 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1793, allocations: 11.94 kB / 0.573 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1795, allocations: 35.73 kB / 0.5731 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1796, allocations: 15.94 kB / 0.5731 GB, free: 10.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.1798, allocations: 252.9 kB / 0.5733 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.1798, allocations: 31.7 kB / 0.5734 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.1799, allocations: 26.19 kB / 0.5734 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1799, allocations: 7.984 kB / 0.5734 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1799, allocations: 4 kB / 0.5734 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1799, allocations: 3.984 kB / 0.5734 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.1803, allocations: 349.3 kB / 0.5737 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1803, allocations: 0 / 0.5737 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.1806, allocations: 47.97 kB / 0.5738 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-05/0.1807, allocations: 28.84 kB / 0.5738 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1807, allocations: 0 / 0.5738 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009325/0.1816, allocations: 1.331 MB / 0.5751 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1816, allocations: 0 / 0.5751 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.1823, allocations: 388.1 kB / 0.5755 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1825, allocations: 112.8 kB / 0.5756 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1825, allocations: 0 / 0.5756 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.1827, allocations: 23.97 kB / 0.5756 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.1828, allocations: 15.98 kB / 0.5756 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1828, allocations: 7.938 kB / 0.5756 GB, free: 7.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.1829, allocations: 186 kB / 0.5758 GB, free: 7.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1829, allocations: 0 / 0.5758 GB, free: 7.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005487/0.1835, allocations: 147.5 kB / 0.5759 GB, free: 7.082 MB / 446.1 MB 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001126/0.1836, allocations: 103.9 kB / 0.576 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1847, allocations: 0.5262 MB / 0.5766 GB, free: 6.434 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1847, allocations: 0 / 0.5766 GB, free: 6.434 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.1851, allocations: 227.4 kB / 0.5768 GB, free: 6.199 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.1855, allocations: 60.62 kB / 0.5768 GB, free: 6.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.1864, allocations: 0.658 MB / 0.5775 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1868, allocations: 0.8072 MB / 0.5783 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.1871, allocations: 82.14 kB / 0.5783 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1871, allocations: 19.44 kB / 0.5784 GB, free: 4.531 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1871, allocations: 0 / 0.5784 GB, free: 4.531 MB / 446.1 MB Notification: Performance of Templates: time 0.00611/0.1932, allocations: 3.045 MB / 0.5813 GB, free: 1.523 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)