Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00127/0.001271, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.696/2.696, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.14 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3603, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006223/0.3666, allocations: 4.197 MB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003872/0.3705, allocations: 2.38 MB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.3707, allocations: 11.94 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3722, allocations: 0.4984 MB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006383/0.3728, allocations: 274.9 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.3736, allocations: 314.5 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007369/0.3744, allocations: 0.8025 MB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.375, allocations: 372.2 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.3753, allocations: 207.2 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.3757, allocations: 295 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.3758, allocations: 24 kB / 1.077 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.3763, allocations: 327.5 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.3765, allocations: 175.5 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.3767, allocations: 206.9 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.3774, allocations: 0.6503 MB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3774, allocations: 0 / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3774, allocations: 0 / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3774, allocations: 0 / 1.078 GB, free: 216 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.001186/0.3786, allocations: 0.7253 MB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3787, allocations: 12.03 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.3799, allocations: 168.1 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.3803, allocations: 320.5 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.3804, allocations: 25.38 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.3805, allocations: 40.36 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009878/0.3814, allocations: 0.6341 MB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3815, allocations: 3.938 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.3815, allocations: 16 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.071e-05/0.3816, allocations: 44.62 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008535/0.3825, allocations: 494.1 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003642/0.3861, allocations: 3.444 MB / 1.084 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.3869, allocations: 374.5 kB / 1.084 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.3871, allocations: 172.3 kB / 1.084 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/0.3872, allocations: 4 kB / 1.084 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3872, allocations: 38.56 kB / 1.084 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.3873, allocations: 0 / 1.084 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004713/0.392, allocations: 1.451 MB / 1.086 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.392, allocations: 85.11 kB / 1.086 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.3925, allocations: 336.4 kB / 1.086 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3925, allocations: 29.7 kB / 1.086 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.3927, allocations: 259.3 kB / 1.086 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.3928, allocations: 90.69 kB / 1.086 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3929, allocations: 106 kB / 1.087 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3931, allocations: 342.8 kB / 1.087 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.3934, allocations: 187 kB / 1.087 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.3938, allocations: 342.1 kB / 1.087 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007416/0.3946, allocations: 0.5474 MB / 1.088 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3946, allocations: 0 / 1.088 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002453/0.3971, allocations: 0.9237 MB / 1.089 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3971, allocations: 11.98 kB / 1.089 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3971, allocations: 4 kB / 1.089 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.3995, allocations: 0.5013 MB / 1.089 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.4, allocations: 103.8 kB / 1.089 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.4057, allocations: 3.772 MB / 1.093 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.4062, allocations: 43.8 kB / 1.093 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.4063, allocations: 23.98 kB / 1.093 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005198/0.4068, allocations: 321.1 kB / 1.093 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004349/0.4073, allocations: 335.8 kB / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000663/0.4079, allocations: 0.5035 MB / 1.094 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.4079, allocations: 4 kB / 1.094 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008857/0.4088, allocations: 0.544 MB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4089, allocations: 8 kB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4089, allocations: 15.88 kB / 1.095 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.4089, allocations: 8 kB / 1.095 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.4093, allocations: 111.8 kB / 1.095 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4094, allocations: 8 kB / 1.095 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.4097, allocations: 44.06 kB / 1.095 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.4098, allocations: 31.92 kB / 1.095 GB, free: 13.53 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.0001802/0.41, allocations: 212.6 kB / 1.095 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.4101, allocations: 31.62 kB / 1.095 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.4118, allocations: 0.6719 MB / 1.096 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4118, allocations: 4 kB / 1.096 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4119, allocations: 4 kB / 1.096 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4119, allocations: 0 / 1.096 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009053/0.4128, allocations: 0.652 MB / 1.097 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4128, allocations: 0 / 1.097 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.413, allocations: 48 kB / 1.097 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.4146, allocations: 401.2 kB / 1.097 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.4146, allocations: 4.047 kB / 1.097 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/0.4186, allocations: 3.494 MB / 1.1 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4186, allocations: 4.031 kB / 1.1 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.4203, allocations: 0.8181 MB / 1.101 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.4205, allocations: 144.6 kB / 1.101 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.4205, allocations: 8 kB / 1.101 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.4209, allocations: 39.94 kB / 1.101 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.421, allocations: 19.91 kB / 1.101 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.421, allocations: 12 kB / 1.101 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002822/0.4213, allocations: 235 kB / 1.102 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.433e-06/0.4213, allocations: 0 / 1.102 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008713/0.4222, allocations: 207.9 kB / 1.102 GB, free: 6.141 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.0001729/0.4224, allocations: 119.2 kB / 1.102 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.4241, allocations: 0.9646 MB / 1.103 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4241, allocations: 0 / 1.103 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000731/0.4249, allocations: 481.2 kB / 1.103 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.4255, allocations: 77.92 kB / 1.103 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.4268, allocations: 0.9004 MB / 1.104 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.4272, allocations: 0.847 MB / 1.105 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004411/0.4277, allocations: 147.1 kB / 1.105 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.4278, allocations: 31.42 kB / 1.105 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.4278, allocations: 0 / 1.105 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of Templates: time 0.01119/0.439, allocations: 6.979 MB / 1.112 GB, free: 11.53 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)