Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_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.001083/0.001083, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001168/0.001168, allocations: 193.7 kB / 16.25 MB, free: 6.625 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.95 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3299, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.008519/0.3385, allocations: 4.195 MB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004437/0.343, allocations: 2.341 MB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.3434, allocations: 4 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.345, allocations: 0.51 MB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008555/0.3458, allocations: 278.9 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/0.3468, allocations: 314.7 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008095/0.3476, allocations: 0.5646 MB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007277/0.3484, allocations: 420 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.3488, allocations: 235.2 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.3494, allocations: 295 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.086e-05/0.3495, allocations: 36 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000574/0.3501, allocations: 283.5 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.3503, allocations: 175.6 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3505, allocations: 214.9 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008945/0.3515, allocations: 0.6659 MB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3515, allocations: 3.938 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3515, allocations: 0 / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.3515, allocations: 0 / 1.078 GB, free: 248 kB / 0.8262 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.001393/0.3529, allocations: 0.7216 MB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3529, allocations: 8.031 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.3542, allocations: 164.2 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.3547, allocations: 324.5 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.3548, allocations: 33.36 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.3549, allocations: 40.31 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.3558, allocations: 0.6353 MB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.3559, allocations: 3.938 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.3559, allocations: 19.98 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-05/0.356, allocations: 44.62 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.3569, allocations: 490.1 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.3605, allocations: 3.432 MB / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.3612, allocations: 380.9 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.3614, allocations: 165.6 kB / 1.084 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3615, allocations: 11.97 kB / 1.084 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3615, allocations: 38.56 kB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.3615, allocations: 0 / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004613/0.3661, allocations: 1.462 MB / 1.086 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.3662, allocations: 85.11 kB / 1.086 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.3666, allocations: 332.4 kB / 1.086 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3667, allocations: 33.7 kB / 1.086 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.3668, allocations: 255.3 kB / 1.086 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.3669, allocations: 98.67 kB / 1.086 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.3671, allocations: 94.06 kB / 1.087 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3672, allocations: 342.8 kB / 1.087 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.3675, allocations: 191 kB / 1.087 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.368, allocations: 346 kB / 1.087 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.3687, allocations: 0.5474 MB / 1.088 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3687, allocations: 0 / 1.088 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00243/0.3711, allocations: 0.9201 MB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.3712, allocations: 8 kB / 1.089 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.3712, allocations: 4 kB / 1.089 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.3735, allocations: 0.5011 MB / 1.089 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.374, allocations: 103.8 kB / 1.089 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.3798, allocations: 4.052 MB / 1.093 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.3804, allocations: 47.86 kB / 1.093 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.3804, allocations: 23.98 kB / 1.093 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004984/0.3809, allocations: 309.1 kB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004408/0.3814, allocations: 336.4 kB / 1.094 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007595/0.3822, allocations: 0.5113 MB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-05/0.3822, allocations: 4 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001078/0.3833, allocations: 0.5437 MB / 1.095 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3833, allocations: 8 kB / 1.095 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3833, allocations: 7.938 kB / 1.095 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3834, allocations: 15.94 kB / 1.095 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.3838, allocations: 112.4 kB / 1.095 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.3838, allocations: 15.94 kB / 1.095 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.3843, allocations: 43.81 kB / 1.095 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.3844, allocations: 23.98 kB / 1.095 GB, free: 13.27 MB / 0.8575 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.0002427/0.3846, allocations: 212 kB / 1.096 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.3847, allocations: 31.62 kB / 1.096 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.3865, allocations: 0.6669 MB / 1.096 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3866, allocations: 4 kB / 1.096 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3866, allocations: 3.984 kB / 1.096 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.3866, allocations: 4 kB / 1.096 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.3879, allocations: 0.6636 MB / 1.097 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3879, allocations: 0 / 1.097 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3881, allocations: 47.95 kB / 1.097 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.3897, allocations: 401.2 kB / 1.097 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.3898, allocations: 8 kB / 1.097 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00457/0.3944, allocations: 3.75 MB / 1.101 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3944, allocations: 4.031 kB / 1.101 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.3961, allocations: 0.823 MB / 1.102 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.3963, allocations: 144.6 kB / 1.102 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.3964, allocations: 8 kB / 1.102 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.3968, allocations: 43.94 kB / 1.102 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.3969, allocations: 15.97 kB / 1.102 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.3969, allocations: 12 kB / 1.102 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003114/0.3972, allocations: 239 kB / 1.102 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.883e-06/0.3972, allocations: 0 / 1.102 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001015/0.3982, allocations: 204.1 kB / 1.102 GB, free: 5.59 MB / 0.8575 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.0001987/0.3985, allocations: 111.2 kB / 1.102 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.4004, allocations: 1.003 MB / 1.103 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4004, allocations: 0.625 kB / 1.103 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007279/0.4011, allocations: 485.1 kB / 1.104 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.4017, allocations: 89.22 kB / 1.104 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.4032, allocations: 0.9152 MB / 1.105 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.4037, allocations: 0.8507 MB / 1.106 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000458/0.4042, allocations: 143.1 kB / 1.106 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.4043, allocations: 27.44 kB / 1.106 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of SimCode: time 7.61e-07/0.4043, allocations: 3.938 kB / 1.106 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of Templates: time 0.01346/0.4177, allocations: 7.348 MB / 1.113 GB, free: 10.55 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)