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/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.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") [/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.2155/0.2174, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005796/0.2232, allocations: 3.043 MB / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003599/0.2269, allocations: 1.777 MB / 0.6753 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.2272, allocations: 7.938 kB / 0.6753 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.2284, allocations: 330.8 kB / 0.6757 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.2291, allocations: 219.1 kB / 0.6759 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008133/0.2299, allocations: 179.5 kB / 0.676 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000546/0.2305, allocations: 314.8 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.231, allocations: 248.7 kB / 0.6766 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.2313, allocations: 131.5 kB / 0.6767 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.2318, allocations: 171.4 kB / 0.6769 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.2319, allocations: 20 kB / 0.6769 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.2323, allocations: 243.6 kB / 0.6771 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.2325, allocations: 99.72 kB / 0.6772 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.2327, allocations: 123.4 kB / 0.6773 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.2333, allocations: 410.8 kB / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2333, allocations: 0 / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2333, allocations: 0 / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.2333, allocations: 3.938 kB / 0.6777 GB, free: 10.73 MB / 0.5137 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.001314/0.2346, allocations: 0.5459 MB / 0.6783 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2347, allocations: 8.031 kB / 0.6783 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008167/0.2355, allocations: 100.5 kB / 0.6784 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2359, allocations: 248 kB / 0.6786 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.236, allocations: 16.75 kB / 0.6786 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.2361, allocations: 28.55 kB / 0.6786 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.2367, allocations: 380.3 kB / 0.679 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2367, allocations: 0 / 0.679 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.2367, allocations: 8 kB / 0.679 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.505e-05/0.2368, allocations: 28.42 kB / 0.679 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.2373, allocations: 305.5 kB / 0.6793 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.2391, allocations: 1.17 MB / 0.6805 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.2395, allocations: 230.4 kB / 0.6807 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.2397, allocations: 121.6 kB / 0.6808 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.2399, allocations: 89.36 kB / 0.6809 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.2399, allocations: 38.5 kB / 0.6809 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.2399, allocations: 0 / 0.6809 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001358/0.2413, allocations: 0.7995 MB / 0.6817 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.2414, allocations: 55.39 kB / 0.6818 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.2416, allocations: 190.7 kB / 0.6819 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.2416, allocations: 29.7 kB / 0.682 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2417, allocations: 163.8 kB / 0.6821 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.2418, allocations: 63.09 kB / 0.6822 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.2419, allocations: 61.59 kB / 0.6822 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.242, allocations: 330.8 kB / 0.6826 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.2422, allocations: 111.9 kB / 0.6827 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.2424, allocations: 175 kB / 0.6828 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.2428, allocations: 302.4 kB / 0.6831 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2428, allocations: 0 / 0.6831 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007423/0.2436, allocations: 409.9 kB / 0.6835 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2436, allocations: 11.94 kB / 0.6835 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2436, allocations: 192 / 0.6835 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/0.2441, allocations: 104.8 kB / 0.6836 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.2443, allocations: 47.91 kB / 0.6837 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.2465, allocations: 1.883 MB / 0.6855 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.2467, allocations: 11.98 kB / 0.6855 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.2467, allocations: 11.94 kB / 0.6855 GB, free: 2.223 MB / 0.5137 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.2469, allocations: 161.7 kB / 0.6857 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.247, allocations: 15.81 kB / 0.6857 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.2475, allocations: 303.4 kB / 0.686 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2475, allocations: 0 / 0.686 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2475, allocations: 0 / 0.686 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2475, allocations: 3.984 kB / 0.686 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2485, allocations: 0.7175 MB / 0.6867 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2485, allocations: 0 / 0.6867 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.2488, allocations: 55.95 kB / 0.6868 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2488, allocations: 15.94 kB / 0.6868 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2489, allocations: 3.938 kB / 0.6868 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2489, allocations: 4 kB / 0.6868 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2489, allocations: 0 / 0.6868 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.2495, allocations: 0.528 MB / 0.6873 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.2496, allocations: 112.9 kB / 0.6874 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.2497, allocations: 12 kB / 0.6874 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2499, allocations: 11.98 kB / 0.6874 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.2499, allocations: 11.98 kB / 0.6874 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2499, allocations: 8 kB / 0.6874 GB, free: 152 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001434/0.2501, allocations: 144.1 kB / 0.6876 GB, free: 8 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2501, allocations: 0 / 0.6876 GB, free: 8 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003844/0.2505, allocations: 68.14 kB / 0.6876 GB, free: 15.94 MB / 0.5294 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002299/0.2507, allocations: 111.2 kB / 0.6877 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007657/0.2515, allocations: 434.2 kB / 0.6882 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2515, allocations: 0 / 0.6882 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.2517, allocations: 119.9 kB / 0.6883 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.2521, allocations: 47 kB / 0.6883 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2534, allocations: 0.6192 MB / 0.6889 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.2539, allocations: 0.7753 MB / 0.6897 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.2541, allocations: 65.88 kB / 0.6897 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.2541, allocations: 19.44 kB / 0.6898 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.2541, allocations: 0 / 0.6898 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.007887/0.262, allocations: 2.881 MB / 0.6926 GB, free: 10.82 MB / 0.5294 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)