Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005512, allocations: 17.44 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2819, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004901/0.2868, allocations: 3.542 MB / 0.7906 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003827/0.2907, allocations: 2.067 MB / 0.7926 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/0.2911, allocations: 4 kB / 0.7926 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.2915, allocations: 67.59 kB / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.2923, allocations: 187.4 kB / 0.7928 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2934, allocations: 263.3 kB / 0.7931 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007336/0.2941, allocations: 323.3 kB / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.2954, allocations: 0.6076 MB / 0.794 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.2957, allocations: 155.4 kB / 0.7941 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.2961, allocations: 183.4 kB / 0.7943 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.2962, allocations: 20 kB / 0.7943 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.2965, allocations: 135.8 kB / 0.7945 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2967, allocations: 151.6 kB / 0.7946 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2968, allocations: 93.52 kB / 0.7947 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.2974, allocations: 479 kB / 0.7952 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2975, allocations: 0 / 0.7952 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2975, allocations: 0 / 0.7952 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.67e-05/0.2975, allocations: 0 / 0.7952 GB, free: 3.684 MB / 0.6075 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.001219/0.2987, allocations: 0.6537 MB / 0.7958 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2988, allocations: 8.031 kB / 0.7958 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.3, allocations: 147.3 kB / 0.7959 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.3005, allocations: 311.3 kB / 0.7962 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.3006, allocations: 29 kB / 0.7963 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.3007, allocations: 32 kB / 0.7963 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3017, allocations: 0.6284 MB / 0.7969 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.3018, allocations: 0 / 0.7969 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.3018, allocations: 16 kB / 0.7969 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3019, allocations: 40.62 kB / 0.797 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007867/0.3027, allocations: 482 kB / 0.7974 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003898/0.3066, allocations: 3.424 MB / 0.8008 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.3073, allocations: 372.9 kB / 0.8011 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.3074, allocations: 7.984 kB / 0.8011 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3074, allocations: 42.56 kB / 0.8012 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.933e-06/0.3074, allocations: 0 / 0.8012 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004755/0.3122, allocations: 1.458 MB / 0.8026 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3123, allocations: 81.11 kB / 0.8027 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.3126, allocations: 324.4 kB / 0.803 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.3127, allocations: 29.7 kB / 0.803 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.3129, allocations: 259.3 kB / 0.8033 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.313, allocations: 90.75 kB / 0.8033 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.313, allocations: 11.94 kB / 0.8034 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3132, allocations: 346.8 kB / 0.8037 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.3134, allocations: 177 kB / 0.8039 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.3139, allocations: 338.1 kB / 0.8042 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.3142, allocations: 231.8 kB / 0.8044 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3142, allocations: 3.938 kB / 0.8044 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002268/0.3165, allocations: 0.9055 MB / 0.8053 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001406/0.3179, allocations: 2.09 MB / 0.8073 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.318, allocations: 8 kB / 0.8073 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/0.3203, allocations: 0.501 MB / 0.8078 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.3207, allocations: 99.81 kB / 0.8079 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/0.3266, allocations: 3.861 MB / 0.8117 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.327, allocations: 35.91 kB / 0.8117 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.327, allocations: 23.98 kB / 0.8117 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3271, allocations: 4 kB / 0.8118 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007207/0.3278, allocations: 475.9 kB / 0.8122 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3278, allocations: 8.125 kB / 0.8122 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.3278, allocations: 8 kB / 0.8122 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.3282, allocations: 111.8 kB / 0.8123 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3283, allocations: 19.88 kB / 0.8123 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.3285, allocations: 27.89 kB / 0.8124 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.3286, allocations: 23.98 kB / 0.8124 GB, free: 0.9375 MB / 0.6231 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.0003469/0.3289, allocations: 269 kB / 0.8127 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.329, allocations: 31.62 kB / 0.8127 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.3308, allocations: 0.6811 MB / 0.8133 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3309, allocations: 4 kB / 0.8134 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3309, allocations: 288 / 0.8134 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3309, allocations: 3.953 kB / 0.8134 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3321, allocations: 0.656 MB / 0.814 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3321, allocations: 3.938 kB / 0.814 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.3323, allocations: 51.88 kB / 0.8141 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.3338, allocations: 405.3 kB / 0.8144 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3339, allocations: 4 kB / 0.8144 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004158/0.338, allocations: 3.56 MB / 0.8179 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.338, allocations: 0 / 0.8179 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.3397, allocations: 0.8582 MB / 0.8188 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.34, allocations: 144.6 kB / 0.8189 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.34, allocations: 8 kB / 0.8189 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.3404, allocations: 35.94 kB / 0.8189 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.3405, allocations: 31.91 kB / 0.819 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3405, allocations: 8 kB / 0.819 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002735/0.3408, allocations: 227 kB / 0.8192 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.1e-07/0.3408, allocations: 0 / 0.8192 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009784/0.3418, allocations: 192 kB / 0.8194 GB, free: 9.363 MB / 0.6387 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.0002259/0.342, allocations: 107.2 kB / 0.8195 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.3437, allocations: 0.9647 MB / 0.8204 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3437, allocations: 0 / 0.8204 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007336/0.3445, allocations: 473.9 kB / 0.8209 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.345, allocations: 67.44 kB / 0.8209 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.3465, allocations: 0.9163 MB / 0.8218 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.3471, allocations: 0.8546 MB / 0.8227 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004321/0.3475, allocations: 143.3 kB / 0.8228 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.3476, allocations: 31.44 kB / 0.8228 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of SimCode: time 3.6e-07/0.3476, allocations: 4 kB / 0.8228 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of Templates: time 0.01322/0.3608, allocations: 6.59 MB / 0.8293 GB, free: 15.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: