Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.882/1.882, allocations: 288.4 MB / 303.4 MB, free: 8.109 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.001008/0.001008, allocations: 177.9 kB / 372 MB, free: 10.26 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.625/1.625, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0009306/0.0009307, allocations: 96.88 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004167, allocations: 11.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2896, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003826/0.2935, allocations: 3.627 MB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.2964, allocations: 2.078 MB / 0.9852 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.2966, allocations: 11.94 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.2968, allocations: 59.5 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.2973, allocations: 231 kB / 0.9855 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.298, allocations: 259.4 kB / 0.9857 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.2985, allocations: 0.6464 MB / 0.9863 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009399/0.2994, allocations: 0.6019 MB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.2997, allocations: 187.3 kB / 0.9871 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.3, allocations: 255.1 kB / 0.9873 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.3001, allocations: 20 kB / 0.9874 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.3004, allocations: 135.8 kB / 0.9875 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3005, allocations: 159.5 kB / 0.9876 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.3006, allocations: 97.52 kB / 0.9877 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.301, allocations: 494.9 kB / 0.9882 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.301, allocations: 0 / 0.9882 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/0.301, allocations: 4 kB / 0.9882 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.301, allocations: 0 / 0.9882 GB, free: 18.77 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.0009376/0.3019, allocations: 0.6394 MB / 0.9888 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.302, allocations: 8.031 kB / 0.9889 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009759/0.303, allocations: 135.3 kB / 0.989 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.3034, allocations: 319.3 kB / 0.9893 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3034, allocations: 21 kB / 0.9893 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.3035, allocations: 43.92 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/0.3042, allocations: 0.6182 MB / 0.9899 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.3043, allocations: 7.938 kB / 0.99 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.3043, allocations: 19.94 kB / 0.99 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.501e-05/0.3044, allocations: 44.62 kB / 0.99 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.305, allocations: 470.1 kB / 0.9905 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.3079, allocations: 3.424 MB / 0.9938 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.3086, allocations: 380.8 kB / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.3088, allocations: 173.6 kB / 0.9943 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.3089, allocations: 4.406 kB / 0.9943 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3089, allocations: 38.55 kB / 0.9944 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.3089, allocations: 0 / 0.9944 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.004405/0.3133, allocations: 1.47 MB / 0.9958 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3134, allocations: 77.11 kB / 0.9959 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.3137, allocations: 328.4 kB / 0.9962 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3138, allocations: 29.7 kB / 0.9962 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3139, allocations: 259.3 kB / 0.9965 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.314, allocations: 94.75 kB / 0.9966 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.314, allocations: 8 kB / 0.9966 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3142, allocations: 338.8 kB / 0.9969 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.3144, allocations: 177 kB / 0.9971 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3148, allocations: 338.1 kB / 0.9974 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.3151, allocations: 231.8 kB / 0.9976 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3151, allocations: 4 kB / 0.9976 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002022/0.3171, allocations: 0.9003 MB / 0.9985 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.3173, allocations: 253.4 kB / 0.9987 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3173, allocations: 4 kB / 0.9987 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.3195, allocations: 0.5048 MB / 0.9992 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.3199, allocations: 95.88 kB / 0.9993 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/0.3246, allocations: 3.786 MB / 1.003 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.325, allocations: 35.91 kB / 1.003 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.3251, allocations: 23.94 kB / 1.003 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3251, allocations: 4 kB / 1.003 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007219/0.3258, allocations: 480 kB / 1.004 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3259, allocations: 8.031 kB / 1.004 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.3259, allocations: 8 kB / 1.004 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.3262, allocations: 107.8 kB / 1.004 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3263, allocations: 15.92 kB / 1.004 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.3265, allocations: 31.89 kB / 1.004 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.3266, allocations: 20 kB / 1.004 GB, free: 1.879 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.0003443/0.3269, allocations: 276.8 kB / 1.004 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.327, allocations: 31.62 kB / 1.004 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.3286, allocations: 0.6742 MB / 1.005 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3286, allocations: 4 kB / 1.005 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3286, allocations: 0 / 1.005 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3286, allocations: 3.953 kB / 1.005 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.3296, allocations: 0.6482 MB / 1.005 GB, free: 168 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3296, allocations: 8 kB / 1.005 GB, free: 160 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.3299, allocations: 43.91 kB / 1.005 GB, free: 116 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/0.3316, allocations: 405.3 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.3316, allocations: 11.95 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003995/0.3356, allocations: 3.47 MB / 1.009 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3357, allocations: 0 / 1.009 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3374, allocations: 0.8305 MB / 1.01 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.3376, allocations: 144.6 kB / 1.01 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.3376, allocations: 8 kB / 1.01 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.338, allocations: 35.89 kB / 1.01 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.3381, allocations: 23.97 kB / 1.01 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.3381, allocations: 8 kB / 1.01 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002601/0.3384, allocations: 235 kB / 1.01 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3384, allocations: 0 / 1.01 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000907/0.3393, allocations: 188 kB / 1.011 GB, free: 10.45 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.0002159/0.3395, allocations: 113.3 kB / 1.011 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.3412, allocations: 0.9606 MB / 1.012 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3412, allocations: 4.125 kB / 1.012 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/0.3419, allocations: 481.2 kB / 1.012 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.3426, allocations: 74.67 kB / 1.012 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3441, allocations: 0.9205 MB / 1.013 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.3445, allocations: 0.847 MB / 1.014 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004122/0.3449, allocations: 135.2 kB / 1.014 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.345, allocations: 27.42 kB / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.345, allocations: 0 / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of Templates: time 0.01164/0.3567, allocations: 6.607 MB / 1.02 GB, free: 216 kB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)