Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 187.4 kB / 327.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007016/0.0007019, allocations: 92 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003045, allocations: 9.906 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1847, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002886/0.1876, allocations: 2.757 MB / 0.9042 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1897, allocations: 1.707 MB / 0.9058 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.1898, allocations: 7.938 kB / 0.9058 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.19, allocations: 39.7 kB / 0.9059 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.1904, allocations: 199.3 kB / 0.9061 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1908, allocations: 163.7 kB / 0.9062 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.1911, allocations: 458.8 kB / 0.9066 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007198/0.1919, allocations: 0.5357 MB / 0.9072 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.192, allocations: 111.6 kB / 0.9073 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.1923, allocations: 155.5 kB / 0.9074 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.1923, allocations: 16 kB / 0.9074 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.1927, allocations: 287.4 kB / 0.9077 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.922e-05/0.1928, allocations: 87.77 kB / 0.9078 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1929, allocations: 129.1 kB / 0.9079 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.1933, allocations: 323.5 kB / 0.9082 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1933, allocations: 0 / 0.9082 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.428e-06/0.1933, allocations: 3.984 kB / 0.9082 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1933, allocations: 7.875 kB / 0.9082 GB, free: 56.51 MB / 0.6042 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.000755/0.1941, allocations: 0.4953 MB / 0.9087 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1941, allocations: 12.03 kB / 0.9087 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.1948, allocations: 92.55 kB / 0.9088 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.195, allocations: 255.8 kB / 0.9091 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.195, allocations: 20.8 kB / 0.9091 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.1951, allocations: 20.56 kB / 0.9091 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.1956, allocations: 385.1 kB / 0.9095 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1956, allocations: 0 / 0.9095 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.1956, allocations: 12 kB / 0.9095 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-05/0.1957, allocations: 28.42 kB / 0.9095 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.1961, allocations: 309.5 kB / 0.9098 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.1975, allocations: 1.533 MB / 0.9113 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.1978, allocations: 234.3 kB / 0.9115 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.198, allocations: 116.8 kB / 0.9116 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.1981, allocations: 85.09 kB / 0.9117 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1982, allocations: 42.56 kB / 0.9118 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.1982, allocations: 0 / 0.9118 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001006/0.1992, allocations: 0.7843 MB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1992, allocations: 59.34 kB / 0.9126 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1994, allocations: 187.2 kB / 0.9128 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1994, allocations: 25.7 kB / 0.9128 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.1995, allocations: 167.8 kB / 0.9129 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1995, allocations: 70.95 kB / 0.913 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.1995, allocations: 4 kB / 0.913 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.1996, allocations: 334.8 kB / 0.9133 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1997, allocations: 111.9 kB / 0.9134 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.1999, allocations: 167 kB / 0.9136 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.2002, allocations: 300.6 kB / 0.9139 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2002, allocations: 3.984 kB / 0.9139 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006267/0.2008, allocations: 417.9 kB / 0.9143 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2009, allocations: 6.656 kB / 0.9143 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2009, allocations: 0 / 0.9143 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.2012, allocations: 104.9 kB / 0.9144 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.2015, allocations: 47.91 kB / 0.9144 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.2029, allocations: 1.741 MB / 0.9161 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.2031, allocations: 12.17 kB / 0.9162 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.2031, allocations: 15.98 kB / 0.9162 GB, free: 47.8 MB / 0.6042 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.0001344/0.2033, allocations: 161.8 kB / 0.9163 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.2033, allocations: 15.81 kB / 0.9163 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.2037, allocations: 295.3 kB / 0.9166 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2037, allocations: 7.984 kB / 0.9166 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.2037, allocations: 3.938 kB / 0.9166 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2038, allocations: 3.984 kB / 0.9166 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.2045, allocations: 0.7068 MB / 0.9173 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2045, allocations: 0 / 0.9173 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.2048, allocations: 59.89 kB / 0.9174 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2048, allocations: 4 kB / 0.9174 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2048, allocations: 0 / 0.9174 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2048, allocations: 4 kB / 0.9174 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2048, allocations: 3.938 kB / 0.9174 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.2053, allocations: 0.5142 MB / 0.9179 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.2054, allocations: 120.8 kB / 0.918 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2054, allocations: 4 kB / 0.918 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2056, allocations: 19.91 kB / 0.918 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.2057, allocations: 11.98 kB / 0.9181 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2057, allocations: 8 kB / 0.9181 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.532e-05/0.2058, allocations: 148.1 kB / 0.9182 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2058, allocations: 0 / 0.9182 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003503/0.2061, allocations: 68 kB / 0.9183 GB, free: 45.55 MB / 0.6042 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.0001253/0.2063, allocations: 107.2 kB / 0.9184 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.2069, allocations: 426.9 kB / 0.9188 GB, free: 45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2069, allocations: 0 / 0.9188 GB, free: 45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.207, allocations: 127.8 kB / 0.9189 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.2074, allocations: 35.92 kB / 0.9189 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2084, allocations: 0.8082 MB / 0.9197 GB, free: 44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.2086, allocations: 0.7752 MB / 0.9205 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.2087, allocations: 27.42 kB / 0.9205 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2087, allocations: 0 / 0.9205 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.004468/0.2132, allocations: 3.571 MB / 0.924 GB, free: 39.61 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)