Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9921/0.9921, allocations: 132.4 MB / 139.9 MB, free: 15.39 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001447/0.001448, allocations: 168.9 kB / 171.8 MB, free: 2.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.715/1.715, allocations: 170.6 MB / 374.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001612/0.001611, allocations: 117.5 kB / 444.8 MB, free: 9.227 MB / 346.7 MB [/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.4892/0.4892, allocations: 73.39 MB / 0.6666 GB, free: 46.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.679, allocations: 127.7 MB / 0.7913 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004234/0.6795, allocations: 92.53 kB / 0.7914 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04504/0.7245, allocations: 16.56 MB / 0.8076 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7246, allocations: 0 / 0.8076 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.7246, allocations: 8 kB / 0.8076 GB, free: 8.348 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001098/0.7257, allocations: 0.5241 MB / 0.8081 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.7258, allocations: 12.03 kB / 0.8081 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/0.7268, allocations: 91.61 kB / 0.8082 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.7274, allocations: 257.9 kB / 0.8084 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.7274, allocations: 8 kB / 0.8085 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.7275, allocations: 14.75 kB / 0.8085 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004709/0.728, allocations: 220.9 kB / 0.8087 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.7285, allocations: 327.8 kB / 0.809 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.7285, allocations: 3.938 kB / 0.809 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.7286, allocations: 4 kB / 0.809 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.7286, allocations: 20.42 kB / 0.809 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.7304, allocations: 1.107 MB / 0.8101 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.7309, allocations: 230.3 kB / 0.8103 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.7311, allocations: 108.8 kB / 0.8104 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.7312, allocations: 89.09 kB / 0.8105 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.7313, allocations: 38.83 kB / 0.8105 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.7313, allocations: 0 / 0.8105 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001729/0.733, allocations: 0.7204 MB / 0.8112 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.7331, allocations: 55.41 kB / 0.8113 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.7333, allocations: 157.5 kB / 0.8115 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.7334, allocations: 25.7 kB / 0.8115 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.7335, allocations: 159.9 kB / 0.8116 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.7336, allocations: 67.02 kB / 0.8117 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.7336, allocations: 4 kB / 0.8117 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.7338, allocations: 330.8 kB / 0.812 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.734, allocations: 104 kB / 0.8121 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.7343, allocations: 162.5 kB / 0.8123 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.7346, allocations: 156.4 kB / 0.8124 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7346, allocations: 4 kB / 0.8124 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008713/0.7355, allocations: 401.9 kB / 0.8128 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.7356, allocations: 8 kB / 0.8128 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.7356, allocations: 0 / 0.8128 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000432/0.736, allocations: 96.95 kB / 0.8129 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.7363, allocations: 47.91 kB / 0.8129 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.7382, allocations: 1.664 MB / 0.8146 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.7384, allocations: 7.984 kB / 0.8146 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.7385, allocations: 9.562 kB / 0.8146 GB, free: 0.7578 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.7386, allocations: 113 kB / 0.8147 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.7387, allocations: 23.75 kB / 0.8147 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/0.7393, allocations: 299.2 kB / 0.815 GB, free: 332 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.7394, allocations: 7.953 kB / 0.815 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.7394, allocations: 0 / 0.815 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7394, allocations: 0 / 0.815 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.7405, allocations: 0.6644 MB / 0.8157 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.7405, allocations: 4 kB / 0.8157 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.7409, allocations: 57.83 kB / 0.8157 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.7409, allocations: 3.953 kB / 0.8157 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.7409, allocations: 8 kB / 0.8157 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7409, allocations: 0 / 0.8157 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.7409, allocations: 4 kB / 0.8157 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.7417, allocations: 0.5416 MB / 0.8163 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.7418, allocations: 116.9 kB / 0.8164 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.7419, allocations: 4 kB / 0.8164 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.742, allocations: 7.984 kB / 0.8164 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.7421, allocations: 16.05 kB / 0.8164 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.7421, allocations: 8 kB / 0.8164 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001266/0.7422, allocations: 133 kB / 0.8165 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7422, allocations: 0 / 0.8165 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004076/0.7426, allocations: 68 kB / 0.8166 GB, free: 14.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002167/0.7429, allocations: 119.1 kB / 0.8167 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000718/0.7436, allocations: 409.7 kB / 0.8171 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7436, allocations: 0 / 0.8171 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.7438, allocations: 111.8 kB / 0.8172 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.7441, allocations: 28.75 kB / 0.8172 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.7452, allocations: 490.5 kB / 0.8177 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.7456, allocations: 0.7789 MB / 0.8185 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.7458, allocations: 60.22 kB / 0.8185 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.7459, allocations: 19.44 kB / 0.8185 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.7459, allocations: 0 / 0.8185 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.006224/0.7521, allocations: 2.419 MB / 0.8209 GB, free: 10.15 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)