Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009603, allocations: 96.58 kB / 15.69 MB, free: 488 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.001082/0.001082, allocations: 172.8 kB / 16.57 MB, free: 6.391 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.413/1.413, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7019/0.7019, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 12 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1789, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004661/0.1836, allocations: 3.535 MB / 0.5603 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.1869, allocations: 2.054 MB / 0.5623 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.1871, allocations: 7.938 kB / 0.5623 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1874, allocations: 63.61 kB / 0.5624 GB, free: 5.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.188, allocations: 179.4 kB / 0.5625 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008782/0.1889, allocations: 275.3 kB / 0.5628 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.1894, allocations: 327.3 kB / 0.5631 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.1906, allocations: 0.5929 MB / 0.5637 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.1909, allocations: 155.5 kB / 0.5638 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.1913, allocations: 183.3 kB / 0.564 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.1914, allocations: 16 kB / 0.564 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.1918, allocations: 147.8 kB / 0.5642 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.1919, allocations: 139.7 kB / 0.5643 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.192, allocations: 101.5 kB / 0.5644 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.1925, allocations: 483 kB / 0.5649 GB, free: 3.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1925, allocations: 0 / 0.5649 GB, free: 3.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1925, allocations: 0 / 0.5649 GB, free: 3.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1926, allocations: 7.938 kB / 0.5649 GB, free: 3.332 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009855/0.1935, allocations: 0.6257 MB / 0.5655 GB, free: 2.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1936, allocations: 20.02 kB / 0.5655 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.1946, allocations: 151.3 kB / 0.5657 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.1952, allocations: 315.2 kB / 0.566 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.1952, allocations: 32.98 kB / 0.566 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.1953, allocations: 32 kB / 0.566 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009685/0.1963, allocations: 0.622 MB / 0.5666 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.1963, allocations: 4 kB / 0.5666 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.1964, allocations: 19.98 kB / 0.5666 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.761e-05/0.1964, allocations: 44.62 kB / 0.5667 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.1971, allocations: 474.1 kB / 0.5671 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.2004, allocations: 3.42 MB / 0.5705 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.2011, allocations: 373 kB / 0.5708 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.2011, allocations: 11.97 kB / 0.5708 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2011, allocations: 38.5 kB / 0.5709 GB, free: 12.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.2012, allocations: 4 kB / 0.5709 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004397/0.2056, allocations: 1.454 MB / 0.5723 GB, free: 11.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.2056, allocations: 85.11 kB / 0.5724 GB, free: 11.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.206, allocations: 328.3 kB / 0.5727 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.206, allocations: 33.7 kB / 0.5727 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.2062, allocations: 255.3 kB / 0.573 GB, free: 10.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.2063, allocations: 90.73 kB / 0.5731 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.2063, allocations: 8 kB / 0.5731 GB, free: 10.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2064, allocations: 342.8 kB / 0.5734 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.2067, allocations: 177 kB / 0.5736 GB, free: 9.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.2072, allocations: 342 kB / 0.5739 GB, free: 9.469 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.2075, allocations: 219.9 kB / 0.5741 GB, free: 9.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2075, allocations: 8 kB / 0.5741 GB, free: 9.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002186/0.2097, allocations: 0.9043 MB / 0.575 GB, free: 8.328 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001323/0.2111, allocations: 2.09 MB / 0.577 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.2111, allocations: 4 kB / 0.577 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.2135, allocations: 0.4971 MB / 0.5775 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.2139, allocations: 99.81 kB / 0.5776 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005727/0.2197, allocations: 3.861 MB / 0.5814 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.2201, allocations: 47.75 kB / 0.5814 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.2202, allocations: 27.98 kB / 0.5815 GB, free: 1.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.2202, allocations: 4 kB / 0.5815 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007009/0.2209, allocations: 479.2 kB / 0.5819 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2209, allocations: 8.719 kB / 0.5819 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.2209, allocations: 11.94 kB / 0.5819 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.2213, allocations: 111.8 kB / 0.582 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2213, allocations: 8 kB / 0.5821 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.2216, allocations: 31.88 kB / 0.5821 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.2216, allocations: 20 kB / 0.5821 GB, free: 0.6055 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.2219, allocations: 268.9 kB / 0.5824 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.222, allocations: 39.58 kB / 0.5824 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.317/0.539, allocations: 0.6697 MB / 0.5831 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5391, allocations: 3.594 kB / 0.5831 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.5391, allocations: 1.062 kB / 0.5831 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5391, allocations: 3.828 kB / 0.5831 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.5403, allocations: 0.6564 MB / 0.5837 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5404, allocations: 1.906 kB / 0.5837 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.5406, allocations: 43.45 kB / 0.5837 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.5423, allocations: 410 kB / 0.5841 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.5423, allocations: 7.438 kB / 0.5841 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/0.5464, allocations: 3.547 MB / 0.5876 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5464, allocations: 1 kB / 0.5876 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.5484, allocations: 0.8574 MB / 0.5884 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.5487, allocations: 147.5 kB / 0.5886 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.5487, allocations: 7.219 kB / 0.5886 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.5491, allocations: 36.33 kB / 0.5886 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.5492, allocations: 26.22 kB / 0.5887 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.5493, allocations: 10.81 kB / 0.5887 GB, free: 29.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003305/0.5496, allocations: 223.4 kB / 0.5889 GB, free: 29.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5496, allocations: 3.531 kB / 0.5889 GB, free: 29.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001115/0.5507, allocations: 193.1 kB / 0.5891 GB, free: 29.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002138/0.551, allocations: 110.7 kB / 0.5892 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.5529, allocations: 0.9519 MB / 0.5901 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.553, allocations: 4.406 kB / 0.5901 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007612/0.5537, allocations: 473.5 kB / 0.5906 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.5543, allocations: 72.97 kB / 0.5906 GB, free: 28.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5558, allocations: 0.9171 MB / 0.5915 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.5562, allocations: 0.8615 MB / 0.5924 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004892/0.5567, allocations: 141 kB / 0.5925 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.5568, allocations: 27.16 kB / 0.5925 GB, free: 27.27 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5568, allocations: 0.6562 kB / 0.5925 GB, free: 27.27 MB / 446.1 MB Notification: Performance of Templates: time 0.01551/0.5723, allocations: 6.589 MB / 0.599 GB, free: 26.72 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)