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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-05,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-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4517/0.4562, allocations: 80.81 MB / 0.5904 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006381/0.4626, allocations: 4.099 MB / 0.5944 GB, free: 18.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003849/0.4665, allocations: 2.296 MB / 0.5967 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.467, allocations: 11.94 kB / 0.5967 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.4689, allocations: 0.5389 MB / 0.5972 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008491/0.4698, allocations: 296.4 kB / 0.5975 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009879/0.4708, allocations: 350.5 kB / 0.5978 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.4715, allocations: 0.5488 MB / 0.5984 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006605/0.4721, allocations: 373.8 kB / 0.5987 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.4727, allocations: 227.2 kB / 0.5989 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.4735, allocations: 287.1 kB / 0.5992 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.4737, allocations: 36 kB / 0.5992 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.4744, allocations: 255.5 kB / 0.5995 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003133/0.4747, allocations: 171.6 kB / 0.5996 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.4751, allocations: 207 kB / 0.5998 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008794/0.476, allocations: 0.623 MB / 0.6005 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.476, allocations: 0 / 0.6005 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.476, allocations: 0 / 0.6005 GB, free: 12.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.476, allocations: 0 / 0.6005 GB, free: 12.63 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001546/0.4776, allocations: 0.7097 MB / 0.6011 GB, free: 11.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4776, allocations: 16.03 kB / 0.6012 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.4788, allocations: 136.2 kB / 0.6013 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.4792, allocations: 324.5 kB / 0.6016 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.4792, allocations: 29.36 kB / 0.6016 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.4793, allocations: 40.36 kB / 0.6017 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.48, allocations: 0.6154 MB / 0.6023 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.4801, allocations: 4 kB / 0.6023 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.4801, allocations: 16 kB / 0.6023 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.521e-05/0.4802, allocations: 48.62 kB / 0.6023 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.4808, allocations: 474.1 kB / 0.6028 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.4833, allocations: 2.799 MB / 0.6055 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.4839, allocations: 380.8 kB / 0.6059 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.4841, allocations: 173.6 kB / 0.606 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.4841, allocations: 0 / 0.606 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4841, allocations: 50.44 kB / 0.6061 GB, free: 6.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.4841, allocations: 0 / 0.6061 GB, free: 6.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004188/0.4883, allocations: 1.455 MB / 0.6075 GB, free: 5.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.4884, allocations: 85.05 kB / 0.6076 GB, free: 4.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.4887, allocations: 328.4 kB / 0.6079 GB, free: 4.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.4887, allocations: 33.7 kB / 0.6079 GB, free: 4.566 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4889, allocations: 259 kB / 0.6082 GB, free: 4.305 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.4889, allocations: 94.73 kB / 0.6083 GB, free: 4.211 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4891, allocations: 90.06 kB / 0.6084 GB, free: 4.117 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.4892, allocations: 342.8 kB / 0.6087 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.4894, allocations: 187 kB / 0.6089 GB, free: 3.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.4897, allocations: 346.1 kB / 0.6092 GB, free: 3.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.4902, allocations: 0.5353 MB / 0.6097 GB, free: 2.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4902, allocations: 0 / 0.6097 GB, free: 2.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002029/0.4923, allocations: 0.9081 MB / 0.6106 GB, free: 1.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.4923, allocations: 11.98 kB / 0.6106 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4923, allocations: 4 kB / 0.6106 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.4945, allocations: 0.4975 MB / 0.6111 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.4949, allocations: 99.75 kB / 0.6112 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005846/0.5007, allocations: 4.055 MB / 0.6152 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.5012, allocations: 39.81 kB / 0.6152 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.5013, allocations: 20 kB / 0.6152 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004387/0.5017, allocations: 309.1 kB / 0.6155 GB, free: 12.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003709/0.5021, allocations: 327.8 kB / 0.6158 GB, free: 11.94 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006339/0.5028, allocations: 0.5139 MB / 0.6163 GB, free: 11.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.87e-06/0.5028, allocations: 0 / 0.6163 GB, free: 11.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008611/0.5036, allocations: 0.5322 MB / 0.6169 GB, free: 10.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5037, allocations: 8 kB / 0.6169 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5037, allocations: 8 kB / 0.6169 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.5037, allocations: 8 kB / 0.6169 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.5041, allocations: 107.8 kB / 0.617 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.5041, allocations: 19.91 kB / 0.617 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.5045, allocations: 35.83 kB / 0.617 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.5045, allocations: 23.98 kB / 0.6171 GB, free: 10.6 MB / 462.1 MB 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.0002156/0.5047, allocations: 212.4 kB / 0.6173 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.5049, allocations: 31.62 kB / 0.6173 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.5066, allocations: 0.6637 MB / 0.6179 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5066, allocations: 15.94 kB / 0.6179 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5066, allocations: 0 / 0.6179 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5066, allocations: 7.922 kB / 0.618 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.5077, allocations: 0.6597 MB / 0.6186 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.5077, allocations: 7.938 kB / 0.6186 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.5079, allocations: 43.97 kB / 0.6187 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.5096, allocations: 405.2 kB / 0.619 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.5096, allocations: 4 kB / 0.619 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.5142, allocations: 3.754 MB / 0.6227 GB, free: 4.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5143, allocations: 3.984 kB / 0.6227 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.516, allocations: 0.822 MB / 0.6235 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.5162, allocations: 148.6 kB / 0.6237 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.5163, allocations: 8 kB / 0.6237 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.5167, allocations: 39.94 kB / 0.6237 GB, free: 3.363 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5168, allocations: 23.91 kB / 0.6237 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.5168, allocations: 8 kB / 0.6237 GB, free: 3.332 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002939/0.5171, allocations: 235 kB / 0.624 GB, free: 3.105 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5171, allocations: 0 / 0.624 GB, free: 3.105 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001044/0.5182, allocations: 188 kB / 0.6241 GB, free: 2.922 MB / 462.1 MB 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.0002222/0.5184, allocations: 103.5 kB / 0.6242 GB, free: 2.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.5203, allocations: 1.011 MB / 0.6252 GB, free: 1.773 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.5203, allocations: 4.062 kB / 0.6252 GB, free: 1.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007822/0.5211, allocations: 481.7 kB / 0.6257 GB, free: 1.273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.5218, allocations: 65.75 kB / 0.6257 GB, free: 1.211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.5234, allocations: 0.7595 MB / 0.6265 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.5239, allocations: 0.847 MB / 0.6273 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004604/0.5244, allocations: 147.1 kB / 0.6275 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.5245, allocations: 31.44 kB / 0.6275 GB, free: 15.37 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5245, allocations: 0 / 0.6275 GB, free: 15.37 MB / 478.1 MB Notification: Performance of Templates: time 0.01431/0.5388, allocations: 7.213 MB / 0.6345 GB, free: 8.207 MB / 478.1 MB 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)