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.001102/0.001102, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.001134/0.001134, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.327/1.327, allocations: 222.9 MB / 241 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.002168/0.002168, allocations: 288.5 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 0.9878/0.9878, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4791, allocations: 86.97 MB / 0.767 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005467/0.4847, allocations: 4.154 MB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003624/0.4883, allocations: 2.201 MB / 0.7733 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.4885, allocations: 11.94 kB / 0.7733 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.49, allocations: 0.5397 MB / 0.7738 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.4906, allocations: 270.7 kB / 0.7741 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000828/0.4914, allocations: 343.2 kB / 0.7744 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005637/0.492, allocations: 0.5529 MB / 0.7749 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005203/0.4925, allocations: 371.8 kB / 0.7753 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.4928, allocations: 235.2 kB / 0.7755 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.4932, allocations: 271 kB / 0.7758 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.4933, allocations: 36 kB / 0.7758 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.4937, allocations: 255.5 kB / 0.776 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.4939, allocations: 179.5 kB / 0.7762 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.4941, allocations: 214.9 kB / 0.7764 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.4948, allocations: 0.645 MB / 0.777 GB, free: 9.617 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4948, allocations: 0 / 0.777 GB, free: 9.617 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4948, allocations: 4 kB / 0.777 GB, free: 9.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.4948, allocations: 0 / 0.777 GB, free: 9.613 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.001137/0.496, allocations: 0.7136 MB / 0.7777 GB, free: 8.852 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.496, allocations: 8.031 kB / 0.7777 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/0.497, allocations: 140.2 kB / 0.7779 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.4974, allocations: 332.5 kB / 0.7782 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.4975, allocations: 29.38 kB / 0.7782 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.4975, allocations: 36.36 kB / 0.7783 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/0.4984, allocations: 0.6263 MB / 0.7789 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4984, allocations: 4 kB / 0.7789 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.4985, allocations: 16 kB / 0.7789 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.193e-05/0.4986, allocations: 44.62 kB / 0.7789 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006837/0.4992, allocations: 482.1 kB / 0.7794 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.5025, allocations: 3.409 MB / 0.7827 GB, free: 3.371 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.5032, allocations: 373.8 kB / 0.7831 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.5034, allocations: 169.6 kB / 0.7832 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.5035, allocations: 7.938 kB / 0.7833 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.5035, allocations: 38.56 kB / 0.7833 GB, free: 2.762 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.903e-06/0.5035, allocations: 0 / 0.7833 GB, free: 2.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.004636/0.5082, allocations: 1.454 MB / 0.7847 GB, free: 1.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.5082, allocations: 85.09 kB / 0.7848 GB, free: 1.156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.5086, allocations: 324.4 kB / 0.7851 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.5086, allocations: 33.69 kB / 0.7851 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.5087, allocations: 263.3 kB / 0.7854 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.5088, allocations: 94.59 kB / 0.7855 GB, free: 440 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.509, allocations: 94.16 kB / 0.7856 GB, free: 340 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5091, allocations: 342.8 kB / 0.7859 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.5094, allocations: 183 kB / 0.7861 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.5097, allocations: 342.1 kB / 0.7864 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.5104, allocations: 0.5323 MB / 0.7869 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.5104, allocations: 0 / 0.7869 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002265/0.5127, allocations: 0.9158 MB / 0.7878 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.5127, allocations: 8 kB / 0.7878 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.5127, allocations: 4 kB / 0.7878 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.515, allocations: 0.5052 MB / 0.7883 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.5154, allocations: 95.88 kB / 0.7884 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005765/0.5212, allocations: 4.055 MB / 0.7924 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.5216, allocations: 43.81 kB / 0.7924 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.5217, allocations: 19.94 kB / 0.7924 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004244/0.5221, allocations: 303.5 kB / 0.7927 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003294/0.5224, allocations: 331.8 kB / 0.793 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005883/0.523, allocations: 0.5035 MB / 0.7935 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/0.5231, allocations: 4 kB / 0.7935 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007521/0.5238, allocations: 0.5302 MB / 0.794 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5238, allocations: 11.98 kB / 0.794 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5238, allocations: 4 kB / 0.7941 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.5239, allocations: 8 kB / 0.7941 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.5242, allocations: 111.8 kB / 0.7942 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5243, allocations: 12 kB / 0.7942 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.5246, allocations: 31.81 kB / 0.7942 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.5246, allocations: 24 kB / 0.7942 GB, free: 6.832 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.0001801/0.5248, allocations: 213.4 kB / 0.7944 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.5249, allocations: 35.61 kB / 0.7945 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.5265, allocations: 0.6618 MB / 0.7951 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.5266, allocations: 3.938 kB / 0.7951 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5266, allocations: 3.984 kB / 0.7951 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.5267, allocations: 144.6 kB / 0.7953 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.5268, allocations: 4 kB / 0.7953 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.5271, allocations: 39.94 kB / 0.7953 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.5272, allocations: 23.95 kB / 0.7953 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001268/0.5285, allocations: 0.6724 MB / 0.796 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000806/0.5293, allocations: 0.7401 MB / 0.7967 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002062/0.5295, allocations: 143.9 kB / 0.7968 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002467/0.5298, allocations: 239 kB / 0.7971 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of Backend: time 4.81e-07/0.5298, allocations: 0 / 0.7971 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.532, allocations: 1.035 MB / 0.7981 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001531/0.5335, allocations: 1.199 MB / 0.7993 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of Templates: time 0.01567/0.5492, allocations: 9.159 MB / 0.8082 GB, free: 8.438 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)