Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.241/2.241, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 183.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 115.3 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 51.27 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3254, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004987/0.3304, allocations: 4.176 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002865/0.3333, allocations: 2.213 MB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.3335, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.3348, allocations: 0.5139 MB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000489/0.3353, allocations: 262.9 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.336, allocations: 307.4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.3366, allocations: 0.8141 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.3371, allocations: 378.2 kB / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.3373, allocations: 199.3 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.3377, allocations: 283 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.3377, allocations: 28 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.3381, allocations: 307.4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3383, allocations: 163.6 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3385, allocations: 206.9 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.339, allocations: 0.6386 MB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.339, allocations: 0 / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3391, allocations: 0 / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3391, allocations: 0 / 1.228 GB, free: 106.8 MB / 0.823 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.00113/0.3402, allocations: 0.7187 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3402, allocations: 11.98 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008864/0.3411, allocations: 140.2 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.3416, allocations: 326.4 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.3416, allocations: 25.38 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.3417, allocations: 40.31 kB / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/0.3423, allocations: 0.6302 MB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.3424, allocations: 7.938 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.3424, allocations: 16 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-05/0.3425, allocations: 40.62 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.3431, allocations: 482.2 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.3456, allocations: 3.416 MB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.3462, allocations: 380.9 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.3464, allocations: 174 kB / 1.235 GB, free: 99.93 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.3465, allocations: 8 kB / 1.235 GB, free: 99.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3465, allocations: 34.42 kB / 1.235 GB, free: 99.88 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.3465, allocations: 0 / 1.235 GB, free: 99.88 MB / 0.823 GB Notification: Performance of matching and sorting (n=26): time 0.004077/0.3506, allocations: 1.461 MB / 1.236 GB, free: 98.37 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.3506, allocations: 85.05 kB / 1.236 GB, free: 98.27 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.351, allocations: 328.4 kB / 1.236 GB, free: 97.93 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.351, allocations: 33.7 kB / 1.236 GB, free: 97.89 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3511, allocations: 259.3 kB / 1.237 GB, free: 97.64 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.3512, allocations: 90.66 kB / 1.237 GB, free: 97.55 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3513, allocations: 90.16 kB / 1.237 GB, free: 97.45 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.3514, allocations: 342.8 kB / 1.237 GB, free: 97.11 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3516, allocations: 183 kB / 1.237 GB, free: 96.93 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.3519, allocations: 346.1 kB / 1.238 GB, free: 96.51 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.3524, allocations: 0.5327 MB / 1.238 GB, free: 95.91 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3524, allocations: 4 kB / 1.238 GB, free: 95.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001999/0.3544, allocations: 0.9042 MB / 1.239 GB, free: 94.98 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3545, allocations: 8 kB / 1.239 GB, free: 94.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3545, allocations: 4 kB / 1.239 GB, free: 94.97 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.3566, allocations: 0.5052 MB / 1.24 GB, free: 94.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.357, allocations: 91.81 kB / 1.24 GB, free: 94.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004459/0.3615, allocations: 3.773 MB / 1.243 GB, free: 90.33 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.3618, allocations: 31.88 kB / 1.243 GB, free: 90.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.3619, allocations: 27.98 kB / 1.243 GB, free: 90.27 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000351/0.3622, allocations: 305.1 kB / 1.244 GB, free: 89.97 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002481/0.3625, allocations: 327.9 kB / 1.244 GB, free: 89.57 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004537/0.363, allocations: 0.5023 MB / 1.245 GB, free: 88.99 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.363, allocations: 7.938 kB / 1.245 GB, free: 88.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0005995/0.3636, allocations: 0.5279 MB / 1.245 GB, free: 88.45 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3636, allocations: 9.406 kB / 1.245 GB, free: 88.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3636, allocations: 8.922 kB / 1.245 GB, free: 88.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/0.3636, allocations: 8 kB / 1.245 GB, free: 88.42 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.364, allocations: 115.7 kB / 1.245 GB, free: 88.31 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.364, allocations: 15.92 kB / 1.245 GB, free: 88.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.3642, allocations: 35.83 kB / 1.245 GB, free: 88.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.3643, allocations: 23.98 kB / 1.245 GB, free: 88.23 MB / 0.823 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.0001233/0.3644, allocations: 213.8 kB / 1.245 GB, free: 88.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.3645, allocations: 31.62 kB / 1.245 GB, free: 87.99 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.3659, allocations: 0.6618 MB / 1.246 GB, free: 87.32 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.366, allocations: 4 kB / 1.246 GB, free: 87.31 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.366, allocations: 3.984 kB / 1.246 GB, free: 87.31 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.366, allocations: 4 kB / 1.246 GB, free: 87.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000793/0.3668, allocations: 0.6559 MB / 1.247 GB, free: 86.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3668, allocations: 0 / 1.247 GB, free: 86.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.367, allocations: 43.91 kB / 1.247 GB, free: 86.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.3684, allocations: 401.3 kB / 1.247 GB, free: 86.14 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3684, allocations: 8 kB / 1.247 GB, free: 86.14 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.3713, allocations: 3.486 MB / 1.251 GB, free: 82.38 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3713, allocations: 0 / 1.251 GB, free: 82.38 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.373, allocations: 1.618 MB / 1.252 GB, free: 80.69 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.3731, allocations: 144.6 kB / 1.252 GB, free: 80.53 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.3732, allocations: 4 kB / 1.252 GB, free: 80.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.3735, allocations: 39.94 kB / 1.252 GB, free: 80.49 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.3736, allocations: 27.84 kB / 1.252 GB, free: 80.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3736, allocations: 15.94 kB / 1.252 GB, free: 80.45 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001881/0.3738, allocations: 231 kB / 1.253 GB, free: 80.22 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3738, allocations: 0 / 1.253 GB, free: 80.22 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009795/0.3748, allocations: 192 kB / 1.253 GB, free: 80.03 MB / 0.823 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.0001826/0.375, allocations: 104.9 kB / 1.253 GB, free: 79.92 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.3763, allocations: 0.968 MB / 1.254 GB, free: 78.93 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3763, allocations: 0 / 1.254 GB, free: 78.93 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.3769, allocations: 469.1 kB / 1.254 GB, free: 78.45 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.3774, allocations: 73.23 kB / 1.254 GB, free: 78.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.3786, allocations: 1.106 MB / 1.255 GB, free: 77.22 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3789, allocations: 0.8548 MB / 1.256 GB, free: 76.33 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003479/0.3793, allocations: 147.2 kB / 1.256 GB, free: 76.19 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.3794, allocations: 31.44 kB / 1.256 GB, free: 76.16 MB / 0.823 GB Notification: Performance of SimCode: time 3.5e-07/0.3794, allocations: 4 kB / 1.256 GB, free: 76.16 MB / 0.823 GB Notification: Performance of Templates: time 0.01063/0.39, allocations: 7.092 MB / 1.263 GB, free: 69.09 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)