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.333/1.333, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.000966/0.0009659, allocations: 171.9 kB / 326.5 MB, free: 2.691 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.489/1.489, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0008013/0.0008016, allocations: 96.66 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003453, allocations: 13.84 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003817/0.1955, allocations: 3.853 MB / 0.9005 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.1984, allocations: 2.217 MB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.1987, allocations: 7.938 kB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.2, allocations: 0.5101 MB / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.2005, allocations: 262.9 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007129/0.2013, allocations: 301 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.2019, allocations: 0.8141 MB / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00052/0.2025, allocations: 372.2 kB / 0.9049 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.2028, allocations: 187.2 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.2032, allocations: 259.1 kB / 0.9053 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.2032, allocations: 19.94 kB / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.2037, allocations: 295.5 kB / 0.9056 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.2038, allocations: 151.6 kB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.204, allocations: 198.9 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.2044, allocations: 498.7 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2045, allocations: 0 / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2045, allocations: 0 / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.2045, allocations: 3.938 kB / 0.9064 GB, free: 58.24 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.0009246/0.2054, allocations: 0.6317 MB / 0.907 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2055, allocations: 8.031 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/0.2064, allocations: 144.2 kB / 0.9072 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.2068, allocations: 320.5 kB / 0.9075 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.2068, allocations: 29.38 kB / 0.9075 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.2069, allocations: 28.38 kB / 0.9075 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.2077, allocations: 0.6341 MB / 0.9081 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.2077, allocations: 7.938 kB / 0.9082 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.2077, allocations: 12 kB / 0.9082 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.501e-05/0.2078, allocations: 40.62 kB / 0.9082 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000612/0.2084, allocations: 482.2 kB / 0.9087 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.2111, allocations: 3.428 MB / 0.912 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.2117, allocations: 384.9 kB / 0.9124 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.2119, allocations: 169.6 kB / 0.9125 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.2119, allocations: 4 kB / 0.9125 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.2119, allocations: 38.5 kB / 0.9126 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.003e-06/0.2119, allocations: 0 / 0.9126 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004379/0.2163, allocations: 1.47 MB / 0.914 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.2164, allocations: 77.11 kB / 0.9141 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.2166, allocations: 328.4 kB / 0.9144 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2167, allocations: 33.7 kB / 0.9144 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2168, allocations: 259.2 kB / 0.9147 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.2168, allocations: 90.75 kB / 0.9148 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.2169, allocations: 45.69 kB / 0.9148 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.217, allocations: 338.8 kB / 0.9151 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.2172, allocations: 181 kB / 0.9153 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.2175, allocations: 342 kB / 0.9156 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.218, allocations: 0.5396 MB / 0.9162 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.218, allocations: 3.938 kB / 0.9162 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00218/0.2202, allocations: 0.9081 MB / 0.9171 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.2204, allocations: 257.1 kB / 0.9173 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.2204, allocations: 4 kB / 0.9173 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/0.2228, allocations: 0.4971 MB / 0.9178 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.2231, allocations: 103.8 kB / 0.9179 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004644/0.2278, allocations: 3.781 MB / 0.9216 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.2281, allocations: 31.97 kB / 0.9216 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.2282, allocations: 19.98 kB / 0.9216 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.2282, allocations: 4 kB / 0.9216 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005807/0.2288, allocations: 483.9 kB / 0.9221 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2288, allocations: 8.031 kB / 0.9221 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.291e-06/0.2288, allocations: 12.14 kB / 0.9221 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.2292, allocations: 107.9 kB / 0.9222 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2292, allocations: 11.94 kB / 0.9222 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.2295, allocations: 35.81 kB / 0.9223 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.2295, allocations: 23.98 kB / 0.9223 GB, free: 40.89 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.0002227/0.2297, allocations: 273.5 kB / 0.9225 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.2298, allocations: 31.62 kB / 0.9226 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.2313, allocations: 0.6741 MB / 0.9232 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2314, allocations: 4 kB / 0.9232 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2314, allocations: 4 kB / 0.9232 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2314, allocations: 3.984 kB / 0.9232 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.2321, allocations: 0.6559 MB / 0.9239 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2321, allocations: 0 / 0.9239 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.2323, allocations: 47.97 kB / 0.9239 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.2338, allocations: 405.2 kB / 0.9243 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.2339, allocations: 11.94 kB / 0.9243 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.2369, allocations: 3.478 MB / 0.9277 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2369, allocations: 0 / 0.9277 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.2384, allocations: 0.8319 MB / 0.9285 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.2385, allocations: 148.6 kB / 0.9287 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.2386, allocations: 4 kB / 0.9287 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.2389, allocations: 39.94 kB / 0.9287 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.239, allocations: 19.97 kB / 0.9287 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.239, allocations: 8 kB / 0.9287 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001781/0.2392, allocations: 231 kB / 0.929 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2392, allocations: 4 kB / 0.929 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007708/0.24, allocations: 192 kB / 0.9292 GB, free: 33.45 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.0001463/0.2401, allocations: 107.7 kB / 0.9293 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.2415, allocations: 0.9644 MB / 0.9302 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.2416, allocations: 4.188 kB / 0.9302 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.2422, allocations: 473.1 kB / 0.9307 GB, free: 31.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.2427, allocations: 81.02 kB / 0.9307 GB, free: 31.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2438, allocations: 0.946 MB / 0.9317 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.2441, allocations: 0.8431 MB / 0.9325 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.2442, allocations: 31.42 kB / 0.9325 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2442, allocations: 0 / 0.9325 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.009018/0.2532, allocations: 8.283 MB / 0.9406 GB, free: 21.61 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)