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.548/1.548, allocations: 252 MB / 267.6 MB, free: 10.95 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.001062/0.001062, allocations: 183.2 kB / 327.3 MB, free: 2.23 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.781/1.781, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0007926/0.0007926, allocations: 91.98 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003759, allocations: 10.38 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003759/0.2388, allocations: 3.646 MB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.2418, allocations: 2.074 MB / 0.9064 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2419, allocations: 4 kB / 0.9064 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.2422, allocations: 75.42 kB / 0.9065 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.2427, allocations: 223 kB / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.2433, allocations: 259.5 kB / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.2438, allocations: 0.6464 MB / 0.9076 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008873/0.2447, allocations: 0.6046 MB / 0.9082 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.2449, allocations: 187.3 kB / 0.9084 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.2453, allocations: 259.1 kB / 0.9086 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.2453, allocations: 19.98 kB / 0.9086 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.2456, allocations: 147.8 kB / 0.9088 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2458, allocations: 155.5 kB / 0.9089 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.2458, allocations: 93.52 kB / 0.909 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.2462, allocations: 487 kB / 0.9095 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2462, allocations: 0 / 0.9095 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2462, allocations: 0 / 0.9095 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2462, allocations: 3.938 kB / 0.9095 GB, free: 55.02 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.0009597/0.2472, allocations: 0.6394 MB / 0.9101 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2472, allocations: 8.031 kB / 0.9101 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.2482, allocations: 147.2 kB / 0.9102 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.2485, allocations: 307.4 kB / 0.9105 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.2486, allocations: 25 kB / 0.9106 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/0.2486, allocations: 39.98 kB / 0.9106 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.2495, allocations: 0.6221 MB / 0.9112 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.2495, allocations: 0 / 0.9112 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.2495, allocations: 20 kB / 0.9112 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.741e-05/0.2496, allocations: 48.52 kB / 0.9113 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.2502, allocations: 470.2 kB / 0.9117 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.2529, allocations: 3.424 MB / 0.9151 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.2535, allocations: 376 kB / 0.9154 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.2537, allocations: 173.6 kB / 0.9156 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.2537, allocations: 11.98 kB / 0.9156 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2538, allocations: 34.56 kB / 0.9156 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.2538, allocations: 0 / 0.9156 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004246/0.258, allocations: 1.455 MB / 0.917 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2581, allocations: 85.05 kB / 0.9171 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.2584, allocations: 328.3 kB / 0.9174 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2584, allocations: 29.7 kB / 0.9175 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.2585, allocations: 263.3 kB / 0.9177 GB, free: 46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.2586, allocations: 106.6 kB / 0.9178 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.2586, allocations: 4 kB / 0.9178 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.2587, allocations: 342.8 kB / 0.9182 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.259, allocations: 173 kB / 0.9183 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.2592, allocations: 338.1 kB / 0.9186 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.2595, allocations: 235.7 kB / 0.9189 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2595, allocations: 0 / 0.9189 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002022/0.2616, allocations: 0.9126 MB / 0.9198 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.2617, allocations: 245.1 kB / 0.92 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.2617, allocations: 8 kB / 0.92 GB, free: 43.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.2639, allocations: 0.5049 MB / 0.9205 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.2643, allocations: 91.83 kB / 0.9206 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/0.2688, allocations: 3.774 MB / 0.9243 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.2692, allocations: 35.81 kB / 0.9243 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.2693, allocations: 24 kB / 0.9243 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.2693, allocations: 4.062 kB / 0.9243 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005931/0.2699, allocations: 483.8 kB / 0.9248 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2699, allocations: 8 kB / 0.9248 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-06/0.2699, allocations: 11.95 kB / 0.9248 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.2703, allocations: 107.8 kB / 0.9249 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2703, allocations: 11.94 kB / 0.9249 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.2706, allocations: 31.81 kB / 0.925 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.2706, allocations: 20 kB / 0.925 GB, free: 38.13 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 (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.0002186/0.2709, allocations: 273 kB / 0.9252 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.271, allocations: 35.72 kB / 0.9253 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.2725, allocations: 0.6663 MB / 0.9259 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2725, allocations: 4 kB / 0.9259 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2726, allocations: 7.953 kB / 0.9259 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2726, allocations: 144 / 0.9259 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.2733, allocations: 0.6597 MB / 0.9266 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2733, allocations: 3.984 kB / 0.9266 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2735, allocations: 43.91 kB / 0.9266 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.275, allocations: 413.2 kB / 0.927 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.275, allocations: 8 kB / 0.927 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/0.2781, allocations: 3.475 MB / 0.9304 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2781, allocations: 4.031 kB / 0.9304 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.2796, allocations: 0.828 MB / 0.9312 GB, free: 31.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.2797, allocations: 144.6 kB / 0.9314 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.2798, allocations: 7.953 kB / 0.9314 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.2801, allocations: 39.94 kB / 0.9314 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.2802, allocations: 15.97 kB / 0.9314 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.2802, allocations: 12 kB / 0.9314 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002031/0.2804, allocations: 231 kB / 0.9317 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2804, allocations: 0 / 0.9317 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008088/0.2812, allocations: 192.1 kB / 0.9318 GB, free: 30.69 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 (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.0001562/0.2814, allocations: 115.1 kB / 0.9319 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.2828, allocations: 0.9528 MB / 0.9329 GB, free: 29.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2828, allocations: 4.062 kB / 0.9329 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/0.2834, allocations: 477 kB / 0.9333 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.2839, allocations: 72.42 kB / 0.9334 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.285, allocations: 0.959 MB / 0.9343 GB, free: 28.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.2853, allocations: 0.847 MB / 0.9352 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.272e-05/0.2854, allocations: 31.42 kB / 0.9352 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2854, allocations: 7.938 kB / 0.9352 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.008739/0.2942, allocations: 8.283 MB / 0.9433 GB, free: 18.83 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)