Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.787/1.787, allocations: 287.5 MB / 302.6 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 176.9 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009011/0.0009011, allocations: 80.25 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004415, allocations: 11.42 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2683, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004478/0.2728, allocations: 3.631 MB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003532/0.2764, allocations: 2.078 MB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.277, allocations: 8 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.2774, allocations: 59.5 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.2784, allocations: 223 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.2798, allocations: 269.4 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.2809, allocations: 0.6503 MB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.2823, allocations: 0.6378 MB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.2828, allocations: 187.2 kB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005687/0.2833, allocations: 255.2 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.04e-05/0.2834, allocations: 16 kB / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.284, allocations: 147.8 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.2842, allocations: 147.6 kB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.2844, allocations: 97.52 kB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.2852, allocations: 498.6 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.2852, allocations: 0 / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.436e-06/0.2852, allocations: 0 / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.516e-05/0.2853, allocations: 0 / 0.9873 GB, free: 19.29 MB / 0.6198 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.001273/0.2866, allocations: 0.6279 MB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.2866, allocations: 8.031 kB / 0.988 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.2877, allocations: 140.3 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.2882, allocations: 324.4 kB / 0.9884 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.2882, allocations: 29.38 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.961e-05/0.2883, allocations: 36.36 kB / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009626/0.2893, allocations: 0.6264 MB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.2894, allocations: 3.938 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.2894, allocations: 16 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.813e-05/0.2895, allocations: 40.62 kB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.2903, allocations: 470.2 kB / 0.9896 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003642/0.2939, allocations: 3.448 MB / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.2946, allocations: 368.9 kB / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.2948, allocations: 173.6 kB / 0.9935 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.2949, allocations: 8.391 kB / 0.9935 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2949, allocations: 34.56 kB / 0.9935 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.795e-06/0.2949, allocations: 4 kB / 0.9935 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.004193/0.2991, allocations: 1.47 MB / 0.9949 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.2992, allocations: 81.11 kB / 0.995 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.2995, allocations: 320.4 kB / 0.9953 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2996, allocations: 37.7 kB / 0.9954 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2997, allocations: 259.4 kB / 0.9956 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.2998, allocations: 90.66 kB / 0.9957 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.2998, allocations: 8 kB / 0.9957 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.2999, allocations: 342.8 kB / 0.996 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.3001, allocations: 177 kB / 0.9962 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.3004, allocations: 334.9 kB / 0.9965 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.301, allocations: 0.5314 MB / 0.997 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.301, allocations: 7.938 kB / 0.997 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002026/0.3031, allocations: 0.9083 MB / 0.9979 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.3032, allocations: 252.9 kB / 0.9982 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.3033, allocations: 4 kB / 0.9982 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/0.3054, allocations: 0.501 MB / 0.9987 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.3057, allocations: 95.81 kB / 0.9988 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/0.3104, allocations: 3.784 MB / 1.002 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.3108, allocations: 43.81 kB / 1.002 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.3109, allocations: 23.98 kB / 1.003 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.3109, allocations: 4 kB / 1.003 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006385/0.3115, allocations: 471.3 kB / 1.003 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3115, allocations: 4 kB / 1.003 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.3116, allocations: 8 kB / 1.003 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.3119, allocations: 111.8 kB / 1.003 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3119, allocations: 12.62 kB / 1.003 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.3122, allocations: 35.83 kB / 1.003 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3123, allocations: 23.98 kB / 1.003 GB, free: 1.992 MB / 0.6198 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.0002452/0.3125, allocations: 272.9 kB / 1.003 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.3126, allocations: 35.62 kB / 1.003 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.3141, allocations: 0.6669 MB / 1.004 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3141, allocations: 4 kB / 1.004 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3141, allocations: 3.938 kB / 1.004 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.3141, allocations: 3.984 kB / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.3149, allocations: 0.6558 MB / 1.005 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3149, allocations: 4 kB / 1.005 GB, free: 276 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.3151, allocations: 48.06 kB / 1.005 GB, free: 228 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.3166, allocations: 401.2 kB / 1.005 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.3167, allocations: 8 kB / 1.005 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/0.3206, allocations: 3.482 MB / 1.009 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3207, allocations: 0 / 1.009 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.3224, allocations: 0.8304 MB / 1.009 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.3226, allocations: 144.6 kB / 1.01 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.3227, allocations: 8 kB / 1.01 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.323, allocations: 39.94 kB / 1.01 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.3231, allocations: 23.97 kB / 1.01 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.3231, allocations: 4 kB / 1.01 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000277/0.3234, allocations: 231 kB / 1.01 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3234, allocations: 0 / 1.01 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009376/0.3244, allocations: 192 kB / 1.01 GB, free: 10.55 MB / 0.6355 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.00021/0.3246, allocations: 115.2 kB / 1.01 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.3265, allocations: 0.9594 MB / 1.011 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.3265, allocations: 0 / 1.011 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.3273, allocations: 483 kB / 1.012 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.3279, allocations: 68.98 kB / 1.012 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3295, allocations: 0.916 MB / 1.012 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.33, allocations: 0.847 MB / 1.013 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004545/0.3304, allocations: 143.1 kB / 1.013 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.3305, allocations: 27.44 kB / 1.013 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of SimCode: time 1.833e-06/0.3305, allocations: 0 / 1.013 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of Templates: time 0.0128/0.3433, allocations: 6.604 MB / 1.02 GB, free: 336 kB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)