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.756/2.756, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001308/0.001308, allocations: 180.3 kB / 371 MB, free: 10.85 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.291/2.291, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001042/0.001041, allocations: 99.72 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006648/0.0006649, allocations: 12.98 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2359, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005445/0.2414, allocations: 3.631 MB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004355/0.2458, allocations: 2.071 MB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.2462, allocations: 11.94 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.2465, allocations: 63.48 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007773/0.2473, allocations: 223 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.2485, allocations: 260.3 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009459/0.2494, allocations: 0.6464 MB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.2511, allocations: 0.6019 MB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.2515, allocations: 187.3 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005181/0.252, allocations: 255.1 kB / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.2521, allocations: 24 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.2527, allocations: 135.8 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.2529, allocations: 159.5 kB / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.253, allocations: 97.52 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.2536, allocations: 490.9 kB / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2537, allocations: 4 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2537, allocations: 0 / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2537, allocations: 0 / 0.987 GB, free: 19.46 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.001368/0.2551, allocations: 0.6432 MB / 0.9876 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.2551, allocations: 12.02 kB / 0.9876 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.2566, allocations: 139.3 kB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.2572, allocations: 319.3 kB / 0.9881 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.2572, allocations: 21 kB / 0.9881 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.2573, allocations: 36 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.2586, allocations: 0.6168 MB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.2586, allocations: 11.94 kB / 0.9887 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.2587, allocations: 19.98 kB / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.2588, allocations: 48.58 kB / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2599, allocations: 474.1 kB / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.2644, allocations: 3.424 MB / 0.9926 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.2655, allocations: 376.9 kB / 0.9929 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.2659, allocations: 176.2 kB / 0.9931 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.2659, allocations: 4.406 kB / 0.9931 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.266, allocations: 42.56 kB / 0.9932 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 3.486e-06/0.266, allocations: 0 / 0.9932 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.007735/0.2737, allocations: 1.463 MB / 0.9946 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2738, allocations: 81.05 kB / 0.9947 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/0.2744, allocations: 328.4 kB / 0.995 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.2745, allocations: 29.7 kB / 0.995 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2746, allocations: 259.3 kB / 0.9952 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.2747, allocations: 90.73 kB / 0.9953 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.2748, allocations: 12 kB / 0.9953 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.2749, allocations: 342.8 kB / 0.9957 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.2753, allocations: 173 kB / 0.9958 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.2758, allocations: 338.1 kB / 0.9962 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.2763, allocations: 235.8 kB / 0.9964 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2764, allocations: 4 kB / 0.9964 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003892/0.2803, allocations: 0.9003 MB / 0.9973 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.2805, allocations: 249.2 kB / 0.9975 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.2805, allocations: 4 kB / 0.9975 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004008/0.2845, allocations: 0.5048 MB / 0.998 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.2853, allocations: 91.88 kB / 0.9981 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008058/0.2934, allocations: 3.783 MB / 1.002 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/0.2941, allocations: 39.91 kB / 1.002 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.2942, allocations: 23.98 kB / 1.002 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.2942, allocations: 4 kB / 1.002 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/0.2953, allocations: 476 kB / 1.002 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2953, allocations: 7.953 kB / 1.002 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2953, allocations: 12.06 kB / 1.002 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/0.2961, allocations: 111.8 kB / 1.002 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.2961, allocations: 15.88 kB / 1.002 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.2966, allocations: 31.89 kB / 1.002 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.2966, allocations: 23.98 kB / 1.002 GB, free: 2.555 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.0003353/0.297, allocations: 268.9 kB / 1.003 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2971, allocations: 31.62 kB / 1.003 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.2998, allocations: 0.6747 MB / 1.003 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.2999, allocations: 7.953 kB / 1.003 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2999, allocations: 3.938 kB / 1.003 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2999, allocations: 3.984 kB / 1.003 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.3012, allocations: 0.656 MB / 1.004 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3012, allocations: 0 / 1.004 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.3016, allocations: 43.91 kB / 1.004 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.3042, allocations: 405.2 kB / 1.005 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.3043, allocations: 8 kB / 1.005 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006449/0.3108, allocations: 3.478 MB / 1.008 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3108, allocations: 0 / 1.008 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/0.3139, allocations: 0.8304 MB / 1.009 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.3143, allocations: 144.6 kB / 1.009 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.3144, allocations: 7.953 kB / 1.009 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.315, allocations: 35.94 kB / 1.009 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3152, allocations: 23.97 kB / 1.009 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.3152, allocations: 8 kB / 1.009 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004174/0.3157, allocations: 227 kB / 1.009 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3157, allocations: 4 kB / 1.009 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001322/0.317, allocations: 192 kB / 1.009 GB, free: 11.12 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.0002539/0.3173, allocations: 107.2 kB / 1.009 GB, free: 11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002903/0.3202, allocations: 0.9526 MB / 1.01 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.3203, allocations: 0.5625 kB / 1.01 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.3215, allocations: 481 kB / 1.011 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.3225, allocations: 71.64 kB / 1.011 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.3246, allocations: 0.9214 MB / 1.012 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.3253, allocations: 0.847 MB / 1.013 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008154/0.3261, allocations: 139.1 kB / 1.013 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3263, allocations: 27.44 kB / 1.013 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of SimCode: time 1.482e-06/0.3263, allocations: 0 / 1.013 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of Templates: time 0.02/0.3463, allocations: 6.6 MB / 1.019 GB, free: 0.9062 MB / 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)