Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001732/0.001732, allocations: 105.9 kB / 16.41 MB, free: 6.492 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.001935/0.001935, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002537/0.002537, allocations: 286.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004053/0.004053, allocations: 99.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4741, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006529/0.4806, allocations: 4.158 MB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003992/0.4846, allocations: 2.201 MB / 0.7733 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.4848, allocations: 15.94 kB / 0.7733 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.4863, allocations: 0.5369 MB / 0.7738 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005791/0.4869, allocations: 278.7 kB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.4878, allocations: 341.9 kB / 0.7744 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006566/0.4884, allocations: 0.5646 MB / 0.7749 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.4889, allocations: 291.7 kB / 0.7752 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.4892, allocations: 243.1 kB / 0.7755 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.4896, allocations: 275.1 kB / 0.7757 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.4897, allocations: 40 kB / 0.7758 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.4901, allocations: 255.5 kB / 0.776 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.4903, allocations: 175.5 kB / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.4905, allocations: 218.9 kB / 0.7764 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.4913, allocations: 0.6478 MB / 0.777 GB, free: 9.688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4913, allocations: 0 / 0.777 GB, free: 9.688 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4913, allocations: 0 / 0.777 GB, free: 9.688 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.4913, allocations: 0 / 0.777 GB, free: 9.688 MB / 0.545 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.001228/0.4925, allocations: 0.7284 MB / 0.7777 GB, free: 8.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4926, allocations: 12.03 kB / 0.7777 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.4936, allocations: 144.5 kB / 0.7779 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.4941, allocations: 320.7 kB / 0.7782 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.4941, allocations: 33.36 kB / 0.7782 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.4942, allocations: 36.38 kB / 0.7782 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009322/0.4951, allocations: 0.6263 MB / 0.7789 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.4951, allocations: 3.953 kB / 0.7789 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.4952, allocations: 19.98 kB / 0.7789 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.773e-05/0.4953, allocations: 40.64 kB / 0.7789 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/0.496, allocations: 482.1 kB / 0.7794 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003736/0.4998, allocations: 3.401 MB / 0.7827 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.5005, allocations: 352.9 kB / 0.783 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.5007, allocations: 161.6 kB / 0.7832 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.5008, allocations: 11.98 kB / 0.7832 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.5008, allocations: 34.56 kB / 0.7832 GB, free: 2.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.5008, allocations: 0 / 0.7832 GB, free: 2.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.004684/0.5055, allocations: 1.468 MB / 0.7847 GB, free: 1.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.5056, allocations: 77.11 kB / 0.7847 GB, free: 1.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.506, allocations: 328.4 kB / 0.7851 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.5061, allocations: 33.64 kB / 0.7851 GB, free: 0.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.5064, allocations: 268 kB / 0.7853 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.5065, allocations: 99.2 kB / 0.7854 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.5067, allocations: 98.16 kB / 0.7855 GB, free: 416 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.5069, allocations: 342.8 kB / 0.7859 GB, free: 64 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.5072, allocations: 183 kB / 0.786 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.5077, allocations: 342.1 kB / 0.7864 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/0.5085, allocations: 0.5322 MB / 0.7869 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5085, allocations: 0 / 0.7869 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002375/0.5109, allocations: 0.9164 MB / 0.7878 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5109, allocations: 8 kB / 0.7878 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.5109, allocations: 11.98 kB / 0.7878 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.5132, allocations: 0.4971 MB / 0.7883 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.5136, allocations: 99.81 kB / 0.7884 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.5196, allocations: 4.046 MB / 0.7923 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.52, allocations: 43.86 kB / 0.7924 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.52, allocations: 23.98 kB / 0.7924 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004337/0.5205, allocations: 299.5 kB / 0.7927 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003872/0.5208, allocations: 339.8 kB / 0.793 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006235/0.5215, allocations: 0.4996 MB / 0.7935 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.604e-06/0.5215, allocations: 0 / 0.7935 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008081/0.5223, allocations: 0.5337 MB / 0.794 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5223, allocations: 8 kB / 0.794 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5223, allocations: 4.781 kB / 0.794 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.5223, allocations: 11.94 kB / 0.794 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.5227, allocations: 111.8 kB / 0.7941 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.5227, allocations: 19.92 kB / 0.7942 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.523, allocations: 27.88 kB / 0.7942 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.523, allocations: 24 kB / 0.7942 GB, free: 6.902 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.5232, allocations: 208.1 kB / 0.7944 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.5233, allocations: 31.81 kB / 0.7944 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.525, allocations: 0.6695 MB / 0.7951 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.525, allocations: 4 kB / 0.7951 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.525, allocations: 3.938 kB / 0.7951 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.525, allocations: 3.984 kB / 0.7951 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.526, allocations: 0.6638 MB / 0.7957 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.526, allocations: 0 / 0.7957 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.5262, allocations: 43.91 kB / 0.7958 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/0.5278, allocations: 397.2 kB / 0.7962 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.5278, allocations: 8 kB / 0.7962 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004318/0.5321, allocations: 3.757 MB / 0.7998 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5321, allocations: 0 / 0.7998 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.5338, allocations: 0.8341 MB / 0.8007 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.534, allocations: 136.8 kB / 0.8008 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.534, allocations: 8 kB / 0.8008 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.5344, allocations: 35.94 kB / 0.8008 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.5344, allocations: 31.91 kB / 0.8009 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.5345, allocations: 8 kB / 0.8009 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002591/0.5347, allocations: 231 kB / 0.8011 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5347, allocations: 0 / 0.8011 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000873/0.5356, allocations: 192 kB / 0.8013 GB, free: 15.24 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001952/0.5358, allocations: 111.2 kB / 0.8014 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.5374, allocations: 0.9316 MB / 0.8023 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5374, allocations: 0 / 0.8023 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007384/0.5382, allocations: 466 kB / 0.8027 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.5388, allocations: 78.81 kB / 0.8028 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.5401, allocations: 0.7602 MB / 0.8035 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.5406, allocations: 0.847 MB / 0.8044 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003503/0.541, allocations: 131.2 kB / 0.8045 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.541, allocations: 31.42 kB / 0.8045 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.541, allocations: 0 / 0.8045 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of Templates: time 0.01316/0.5542, allocations: 7.383 MB / 0.8117 GB, free: 4.441 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)