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 2.748/2.748, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001639/0.001639, allocations: 178.9 kB / 370.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.223/2.223, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001181/0.001181, allocations: 96.19 kB / 0.7428 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.0005152, allocations: 15.8 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2346, allocations: 115.3 MB / 0.9782 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005528/0.2402, allocations: 3.546 MB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004423/0.2447, allocations: 2.051 MB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.2452, allocations: 8 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.2455, allocations: 67.53 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007588/0.2462, allocations: 183.5 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.2474, allocations: 277 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006556/0.2481, allocations: 319.4 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.2495, allocations: 0.5968 MB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.2499, allocations: 159.4 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.2503, allocations: 183.3 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.2504, allocations: 16 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.2509, allocations: 139.8 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.2511, allocations: 143.7 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2512, allocations: 93.52 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007197/0.2519, allocations: 487 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.252, allocations: 3.938 kB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.252, allocations: 0 / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.252, allocations: 4 kB / 0.9862 GB, free: 20.06 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.001356/0.2534, allocations: 0.6355 MB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.2534, allocations: 12.02 kB / 0.9869 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.255, allocations: 147.3 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.2557, allocations: 319.2 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.2558, allocations: 28.98 kB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/0.2559, allocations: 39.94 kB / 0.9874 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.2571, allocations: 0.6221 MB / 0.988 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.2572, allocations: 3.938 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.117e-05/0.2573, allocations: 15.98 kB / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.2574, allocations: 44.59 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2585, allocations: 478.1 kB / 0.9885 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004683/0.2632, allocations: 3.424 MB / 0.9918 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.2644, allocations: 381.8 kB / 0.9922 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.2645, allocations: 11.98 kB / 0.9922 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2645, allocations: 38.55 kB / 0.9923 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 3.667e-06/0.2645, allocations: 0 / 0.9923 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.007892/0.2724, allocations: 1.463 MB / 0.9937 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.2726, allocations: 77.11 kB / 0.9938 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.273, allocations: 324.4 kB / 0.9941 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.856e-05/0.2731, allocations: 33.7 kB / 0.9941 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.2733, allocations: 255.3 kB / 0.9943 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.599e-05/0.2734, allocations: 98.73 kB / 0.9944 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.2735, allocations: 4 kB / 0.9944 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.2736, allocations: 342.8 kB / 0.9948 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.274, allocations: 173 kB / 0.9949 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.2745, allocations: 342 kB / 0.9953 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.275, allocations: 227.8 kB / 0.9955 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.275, allocations: 3.938 kB / 0.9955 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003842/0.2789, allocations: 0.9081 MB / 0.9964 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005203/0.2794, allocations: 2.086 MB / 0.9984 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2795, allocations: 4 kB / 0.9984 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004075/0.2836, allocations: 0.5126 MB / 0.9989 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/0.2844, allocations: 87.88 kB / 0.999 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00848/0.2929, allocations: 3.869 MB / 1.003 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.2936, allocations: 47.95 kB / 1.003 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.2937, allocations: 20 kB / 1.003 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2937, allocations: 4 kB / 1.003 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001057/0.2948, allocations: 471.7 kB / 1.003 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2948, allocations: 7.984 kB / 1.003 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2948, allocations: 11.95 kB / 1.003 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.2956, allocations: 111.8 kB / 1.003 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.2957, allocations: 11.94 kB / 1.003 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.2962, allocations: 35.88 kB / 1.003 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-05/0.2962, allocations: 20 kB / 1.003 GB, free: 1.301 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.0003612/0.2966, allocations: 274.3 kB / 1.004 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2967, allocations: 39.56 kB / 1.004 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.2994, allocations: 0.6708 MB / 1.004 GB, free: 312 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.2995, allocations: 4 kB / 1.004 GB, free: 308 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2995, allocations: 7.953 kB / 1.004 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2995, allocations: 3.984 kB / 1.004 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.3011, allocations: 0.652 MB / 1.005 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.3012, allocations: 4 kB / 1.005 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.3016, allocations: 39.97 kB / 1.005 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002838/0.3045, allocations: 401.3 kB / 1.006 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/0.3046, allocations: 19.89 kB / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0066/0.3112, allocations: 3.545 MB / 1.009 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.3113, allocations: 4.031 kB / 1.009 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/0.3143, allocations: 0.8667 MB / 1.01 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.3147, allocations: 144.6 kB / 1.01 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.83e-05/0.3148, allocations: 11.98 kB / 1.01 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/0.3155, allocations: 39.94 kB / 1.01 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3157, allocations: 19.97 kB / 1.01 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.3157, allocations: 8 kB / 1.01 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003943/0.3161, allocations: 227 kB / 1.01 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3161, allocations: 0 / 1.01 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001304/0.3174, allocations: 200 kB / 1.01 GB, free: 9.719 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.000228/0.3177, allocations: 107.2 kB / 1.011 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002817/0.3205, allocations: 0.9591 MB / 1.012 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.3206, allocations: 0 / 1.012 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3219, allocations: 475.1 kB / 1.012 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/0.3226, allocations: 60.98 kB / 1.012 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3248, allocations: 0.9197 MB / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/0.3254, allocations: 0.8509 MB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007829/0.3262, allocations: 139.4 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3263, allocations: 31.44 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/0.3264, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of Templates: time 0.02015/0.3465, allocations: 6.595 MB / 1.02 GB, free: 15.51 MB / 0.6511 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)