Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008711/0.0008713, allocations: 178.6 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007122/0.000712, allocations: 91.25 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 9.75 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1856, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003651/0.1893, allocations: 3.797 MB / 0.9052 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.192, allocations: 2.19 MB / 0.9073 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1921, allocations: 7.938 kB / 0.9073 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.1923, allocations: 63.48 kB / 0.9074 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.1927, allocations: 254.9 kB / 0.9076 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.1933, allocations: 319.4 kB / 0.9079 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.1938, allocations: 0.8103 MB / 0.9087 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00088/0.1947, allocations: 0.6453 MB / 0.9093 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1949, allocations: 183.3 kB / 0.9095 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.1952, allocations: 263 kB / 0.9098 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.1953, allocations: 20 kB / 0.9098 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.1956, allocations: 291.4 kB / 0.9101 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1957, allocations: 155.6 kB / 0.9102 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1959, allocations: 220.6 kB / 0.9104 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.1962, allocations: 498.9 kB / 0.9109 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1963, allocations: 0 / 0.9109 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 7.92e-07/0.1963, allocations: 0 / 0.9109 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1963, allocations: 0 / 0.9109 GB, free: 53.76 MB / 0.6042 GB 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.0007631/0.197, allocations: 0.6317 MB / 0.9115 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1971, allocations: 8.031 kB / 0.9115 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008844/0.198, allocations: 152.2 kB / 0.9117 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1983, allocations: 312.6 kB / 0.912 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1983, allocations: 33.36 kB / 0.912 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.1984, allocations: 36.38 kB / 0.912 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.1991, allocations: 0.6263 MB / 0.9127 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1991, allocations: 0 / 0.9127 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.1991, allocations: 19.98 kB / 0.9127 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.809e-05/0.1992, allocations: 48.56 kB / 0.9127 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.1998, allocations: 482.1 kB / 0.9132 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.2021, allocations: 3.417 MB / 0.9165 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.2028, allocations: 392.6 kB / 0.9169 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.2031, allocations: 169.6 kB / 0.917 GB, free: 47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2031, allocations: 11.98 kB / 0.9171 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.2031, allocations: 30.56 kB / 0.9171 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.2031, allocations: 0 / 0.9171 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004081/0.2072, allocations: 1.47 MB / 0.9185 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.2073, allocations: 85.05 kB / 0.9186 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.2075, allocations: 328.3 kB / 0.9189 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2076, allocations: 33.7 kB / 0.919 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.2076, allocations: 259.2 kB / 0.9192 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.2077, allocations: 94.72 kB / 0.9193 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.2077, allocations: 8 kB / 0.9193 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.2078, allocations: 338.8 kB / 0.9196 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.208, allocations: 181 kB / 0.9198 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.2083, allocations: 338.1 kB / 0.9201 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.2088, allocations: 0.5395 MB / 0.9206 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2088, allocations: 4 kB / 0.9206 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001965/0.2107, allocations: 0.912 MB / 0.9215 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.2108, allocations: 253.2 kB / 0.9218 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2108, allocations: 4 kB / 0.9218 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.2129, allocations: 0.5048 MB / 0.9223 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.2133, allocations: 91.88 kB / 0.9224 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.2176, allocations: 3.778 MB / 0.9261 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.2179, allocations: 39.91 kB / 0.9261 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.218, allocations: 23.98 kB / 0.9261 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.218, allocations: 4 kB / 0.9261 GB, free: 37.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005601/0.2185, allocations: 475.9 kB / 0.9266 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2186, allocations: 8.094 kB / 0.9266 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.2186, allocations: 12 kB / 0.9266 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.2189, allocations: 107.8 kB / 0.9267 GB, free: 36.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.219, allocations: 15.92 kB / 0.9267 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.2192, allocations: 31.83 kB / 0.9267 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.2192, allocations: 24 kB / 0.9268 GB, free: 36.44 MB / 0.6042 GB 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 (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 {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.2194, allocations: 269.5 kB / 0.927 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.2195, allocations: 31.62 kB / 0.927 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.221, allocations: 0.6779 MB / 0.9277 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.221, allocations: 4 kB / 0.9277 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.221, allocations: 0 / 0.9277 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.221, allocations: 3.938 kB / 0.9277 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.2217, allocations: 0.6637 MB / 0.9284 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2218, allocations: 0 / 0.9284 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.2219, allocations: 47.89 kB / 0.9284 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.2233, allocations: 405.3 kB / 0.9288 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.2234, allocations: 4 kB / 0.9288 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.2262, allocations: 3.482 MB / 0.9322 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2262, allocations: 0 / 0.9322 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.2277, allocations: 0.8357 MB / 0.933 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2278, allocations: 152.6 kB / 0.9332 GB, free: 29.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.2278, allocations: 0 / 0.9332 GB, free: 29.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.2282, allocations: 35.94 kB / 0.9332 GB, free: 29.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.2282, allocations: 23.97 kB / 0.9332 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.2283, allocations: 12 kB / 0.9332 GB, free: 29.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001711/0.2284, allocations: 227 kB / 0.9334 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2285, allocations: 4 kB / 0.9335 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007075/0.2292, allocations: 192 kB / 0.9336 GB, free: 28.99 MB / 0.6042 GB 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 (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 {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.2293, allocations: 107.7 kB / 0.9337 GB, free: 28.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.2306, allocations: 0.9606 MB / 0.9347 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2306, allocations: 128 / 0.9347 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.2312, allocations: 481 kB / 0.9351 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.2318, allocations: 78.62 kB / 0.9352 GB, free: 27.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2328, allocations: 0.9766 MB / 0.9362 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.2331, allocations: 0.843 MB / 0.937 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.2332, allocations: 39.42 kB / 0.937 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2332, allocations: 0 / 0.937 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.00835/0.2415, allocations: 8.266 MB / 0.9451 GB, free: 17.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)