Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.837/1.837, allocations: 288.4 MB / 303.4 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 198.7 kB / 372 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.6307 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008597/0.0008599, allocations: 93.92 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 11.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1908, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002819/0.1937, allocations: 2.649 MB / 0.9822 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1955, allocations: 1.614 MB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.1956, allocations: 0 / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1958, allocations: 43.59 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.1962, allocations: 155.3 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1965, allocations: 141.8 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1968, allocations: 366.9 kB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006837/0.1975, allocations: 0.4992 MB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1976, allocations: 107.6 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.1978, allocations: 139.5 kB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.1979, allocations: 16 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.1981, allocations: 143.8 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.1982, allocations: 95.69 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.1983, allocations: 65.58 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.1985, allocations: 307.5 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1985, allocations: 4 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1985, allocations: 0 / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.1986, allocations: 0 / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007584/0.1993, allocations: 0.5105 MB / 0.9863 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1994, allocations: 8.031 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006696/0.2001, allocations: 95.56 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2003, allocations: 250.7 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2003, allocations: 16.44 kB / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/0.2004, allocations: 27.98 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.2009, allocations: 373 kB / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.2009, allocations: 0 / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.2009, allocations: 7.984 kB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-05/0.201, allocations: 32.38 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.2014, allocations: 305.5 kB / 0.9873 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.2028, allocations: 1.537 MB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.2032, allocations: 226.5 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.2033, allocations: 120.7 kB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.2035, allocations: 85.09 kB / 0.9892 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.2035, allocations: 42.5 kB / 0.9893 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.2035, allocations: 0 / 0.9893 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0009968/0.2045, allocations: 0.7955 MB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.2046, allocations: 51.41 kB / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2047, allocations: 186.6 kB / 0.9903 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.2047, allocations: 33.7 kB / 0.9903 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.2048, allocations: 167.8 kB / 0.9905 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.2048, allocations: 67.02 kB / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.2048, allocations: 4 kB / 0.9905 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.2049, allocations: 334.8 kB / 0.9909 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.205, allocations: 107.9 kB / 0.991 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.2052, allocations: 167 kB / 0.9911 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2054, allocations: 141.2 kB / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2054, allocations: 0 / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006111/0.206, allocations: 418.8 kB / 0.9917 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.206, allocations: 5.406 kB / 0.9917 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.206, allocations: 4 kB / 0.9917 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.2064, allocations: 96.75 kB / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.2067, allocations: 51.91 kB / 0.9918 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.208, allocations: 1.742 MB / 0.9935 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.2082, allocations: 11.98 kB / 0.9935 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2083, allocations: 15.92 kB / 0.9935 GB, free: 12.73 MB / 0.6198 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 (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.0001343/0.2084, allocations: 154.3 kB / 0.9937 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.2085, allocations: 19.77 kB / 0.9937 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.2089, allocations: 299.4 kB / 0.994 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2089, allocations: 7.953 kB / 0.994 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.2089, allocations: 0 / 0.994 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2089, allocations: 3.984 kB / 0.994 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007147/0.2096, allocations: 0.699 MB / 0.9947 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2096, allocations: 7.891 kB / 0.9947 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.2099, allocations: 60.02 kB / 0.9947 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2099, allocations: 4 kB / 0.9947 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.21, allocations: 11.94 kB / 0.9948 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.21, allocations: 0 / 0.9948 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.21, allocations: 4 kB / 0.9948 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.2104, allocations: 0.5034 MB / 0.9953 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.2105, allocations: 121 kB / 0.9954 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.2106, allocations: 12 kB / 0.9954 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.2108, allocations: 19.98 kB / 0.9954 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.2108, allocations: 11.98 kB / 0.9954 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2108, allocations: 4 kB / 0.9954 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.247e-05/0.2109, allocations: 148 kB / 0.9956 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2109, allocations: 0 / 0.9956 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003203/0.2113, allocations: 64 kB / 0.9956 GB, free: 10.48 MB / 0.6198 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 (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.0001518/0.2114, allocations: 111.2 kB / 0.9957 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005698/0.212, allocations: 422.2 kB / 0.9961 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.212, allocations: 0 / 0.9961 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.2121, allocations: 119.9 kB / 0.9962 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2125, allocations: 41.38 kB / 0.9963 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000948/0.2135, allocations: 0.7525 MB / 0.997 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2137, allocations: 0.7868 MB / 0.9978 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.2138, allocations: 57.91 kB / 0.9978 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.2139, allocations: 23.44 kB / 0.9979 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.2139, allocations: 0 / 0.9979 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of Templates: time 0.004671/0.2186, allocations: 2.569 MB / 1 GB, free: 5.555 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)